#[repr(u8)]pub enum GatewayErrorCode {
Show 32 variants
InvalidOrMissingIntegrationAPIKey = 1,
AccountIsNotActive = 2,
IntegrationIsNotActive = 3,
OriginatingIPAddressIsNotApprovedInYourAccount = 7,
InternalError = 18,
InternalErrorPleaseRetry = 19,
InsufficientAccountBalance = 20,
PayloadDataIsMalformed = 21,
MaximumMessagesPerRequestPayloadExceeded = 22,
InvalidOrMissingParameter = 23,
MaximumMessageContentSizeExceeded = 24,
InvalidRecipientAddress = 25,
RecipientOptedOut = 26,
RecipientNotAvailableOnChannel = 27,
RecipientNotAvailableOnSandbox = 28,
ContentTypeNotSupported = 30,
MediaFileSizeExceedsLimit = 31,
MediaPayloadSizeExceedsLimit = 32,
MediaItemNotFound = 33,
ChannelFeatureIsNotActiveOnIntegration = 38,
ChannelIsNotAvailableOnIntegration = 39,
CharacterSetIsNotsupported = 40,
ResourceDoesNotExist = 41,
HttpMethodIsNotSupportedOnThisResource = 42,
RateLimit = 43,
FromNumberIsSuspended = 44,
FromNumberIsNotRelatedToIntegration = 45,
DemoAccessHasExpired = 46,
MaximumMessagePartsExceeded = 100,
DestinationDoesNotSupportTwoWayMessaging = 101,
UsaCountryLimitMustUseTwoWayIntegration = 110,
UsaCountryLimitMustEnableStopSUbscribeCommandsOnIntegration = 111,
}
Expand description
Error codes returnd in a GatewayError
Variants§
InvalidOrMissingIntegrationAPIKey = 1
AccountIsNotActive = 2
IntegrationIsNotActive = 3
OriginatingIPAddressIsNotApprovedInYourAccount = 7
InternalError = 18
InternalErrorPleaseRetry = 19
InsufficientAccountBalance = 20
PayloadDataIsMalformed = 21
MaximumMessagesPerRequestPayloadExceeded = 22
InvalidOrMissingParameter = 23
MaximumMessageContentSizeExceeded = 24
InvalidRecipientAddress = 25
RecipientOptedOut = 26
RecipientNotAvailableOnChannel = 27
RecipientNotAvailableOnSandbox = 28
ContentTypeNotSupported = 30
MediaFileSizeExceedsLimit = 31
MediaPayloadSizeExceedsLimit = 32
MediaItemNotFound = 33
ChannelFeatureIsNotActiveOnIntegration = 38
ChannelIsNotAvailableOnIntegration = 39
CharacterSetIsNotsupported = 40
ResourceDoesNotExist = 41
HttpMethodIsNotSupportedOnThisResource = 42
RateLimit = 43
FromNumberIsSuspended = 44
FromNumberIsNotRelatedToIntegration = 45
DemoAccessHasExpired = 46
MaximumMessagePartsExceeded = 100
DestinationDoesNotSupportTwoWayMessaging = 101
UsaCountryLimitMustUseTwoWayIntegration = 110
UsaCountryLimitMustEnableStopSUbscribeCommandsOnIntegration = 111
Trait Implementations§
Source§impl Clone for GatewayErrorCode
impl Clone for GatewayErrorCode
Source§fn clone(&self) -> GatewayErrorCode
fn clone(&self) -> GatewayErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GatewayErrorCode
impl Debug for GatewayErrorCode
Source§impl<'de> Deserialize<'de> for GatewayErrorCode
impl<'de> Deserialize<'de> for GatewayErrorCode
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GatewayErrorCode
impl Display for GatewayErrorCode
Source§impl PartialEq for GatewayErrorCode
impl PartialEq for GatewayErrorCode
impl Copy for GatewayErrorCode
impl StructuralPartialEq for GatewayErrorCode
Auto Trait Implementations§
impl Freeze for GatewayErrorCode
impl RefUnwindSafe for GatewayErrorCode
impl Send for GatewayErrorCode
impl Sync for GatewayErrorCode
impl Unpin for GatewayErrorCode
impl UnwindSafe for GatewayErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more