pub type NotificationHandlingError = Error<NotificationHandlingErrorCode>;

Aliased Type§

enum NotificationHandlingError {
    InvalidInput {
        msg: String,
    },
    RuntimeError {
        code: NotificationHandlingErrorCode,
        msg: String,
    },
    PermanentFailure {
        msg: String,
    },
}

Variants§

§

InvalidInput

Fields

Invalid input. Consider fixing the input and retrying the request.

§

RuntimeError

Recoverable problem (e.g. network issue, problem with en external service). Consider retrying the request.

§

PermanentFailure

Fields

Unrecoverable problem (e.g. internal invariant broken). Consider suggesting the user to report the issue to the developers.