Enum rusoto_budgets::CreateSubscriberError
[−]
[src]
pub enum CreateSubscriberError { CreationLimitExceeded(String), DuplicateRecord(String), InternalError(String), InvalidParameter(String), NotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateSubscriber
Variants
CreationLimitExceeded(String)
The exception is thrown when customer tries to create a record (e.g. budget), but the number this record already exceeds the limitation.
DuplicateRecord(String)
The exception is thrown when customer tries to create a record (e.g. budget) that already exists.
InternalError(String)
This exception is thrown on an unknown internal failure.
InvalidParameter(String)
This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is null.
NotFound(String)
This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an account ID.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl CreateSubscriberError
[src]
pub fn from_body(body: &str) -> CreateSubscriberError
[src]
Trait Implementations
impl Debug for CreateSubscriberError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateSubscriberError
[src]
fn eq(&self, __arg_0: &CreateSubscriberError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateSubscriberError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateSubscriberError
[src]
fn from(err: Error) -> CreateSubscriberError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateSubscriberError
[src]
fn from(err: CredentialsError) -> CreateSubscriberError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateSubscriberError
[src]
fn from(err: HttpDispatchError) -> CreateSubscriberError
[src]
Performs the conversion.
impl From<Error> for CreateSubscriberError
[src]
fn from(err: Error) -> CreateSubscriberError
[src]
Performs the conversion.
impl Display for CreateSubscriberError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more