Enum rusoto_budgets::CreateBudgetError
[−]
[src]
pub enum CreateBudgetError { CreationLimitExceeded(String), DuplicateRecord(String), InternalError(String), InvalidParameter(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateBudget
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.
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 CreateBudgetError
[src]
pub fn from_body(body: &str) -> CreateBudgetError
[src]
Trait Implementations
impl Debug for CreateBudgetError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateBudgetError
[src]
fn eq(&self, __arg_0: &CreateBudgetError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateBudgetError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateBudgetError
[src]
fn from(err: Error) -> CreateBudgetError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateBudgetError
[src]
fn from(err: CredentialsError) -> CreateBudgetError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateBudgetError
[src]
fn from(err: HttpDispatchError) -> CreateBudgetError
[src]
Performs the conversion.
impl From<Error> for CreateBudgetError
[src]
fn from(err: Error) -> CreateBudgetError
[src]
Performs the conversion.
impl Display for CreateBudgetError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more