Skip to content

Commit

Permalink
Fixed custom error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Jan 17, 2024
1 parent 1747871 commit cbf4f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/infisical/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ pub enum Error {
UnauthorizedAccessTokenRequest,

// Blind indicies error
#[error("Blind indicies are not enabled for this project. Read more here: https://infisical.com/docs/api-reference/overview/blind-indices")]
#[error("Blind indicies are not enabled for this project. Read more here: https://infisical.com/docs/")]
BlindIndicesDisabled,

// E2EE enabled error
#[error("End-to-end encryption is enabled for this project. Please disable it to use this SDK. Read more here: https://github.com/infisical/sdk#end-to-end-encryption")]
#[error("End-to-end encryption is enabled for this project. Please disable it to use this SDK. Read more here: https://infisical.com/docs/api-reference/overview/examples/note")]
E2EEEnabled,

// Regular unauthorized error
Expand Down

0 comments on commit cbf4f2d

Please sign in to comment.