Learn how to properly handle errors in the Basalt SDK.
value
: The result of the operation when successfulerror
: An error object when the operation failsNotFoundError
: When a requested resource doesn’t existValidationError
: When the provided parameters are invalidAuthenticationError
: When there’s an issue with authenticationNetworkError
: When there’s a problem with the network connectionServerError
: When the server encounters an issueUnknownError
: For unexpected errors