Enum pagersduty::events::v1::ErrorResponse
[−]
[src]
pub enum ErrorResponse { InvalidEvent { status: String, message: String, errors: Vec<String>, }, RateLimited, Unexpected(String), }
Variants
InvalidEvent
If the event is improperly formatted this will be returned.
Fields of InvalidEvent
status: String | |
message: String | |
errors: Vec<String> |
RateLimited
There is a limit on the number of events that a service can accept at any given time. If the service has received too many events this error will be returned. If it is vital that all events your monitoring tool sends be received, be sure to retry (preferably with a back off).
Unexpected(String)
This return is used for all other errors that this library didn't account for.
Trait Implementations
impl Debug for ErrorResponse
[src]
impl PartialEq for ErrorResponse
[src]
fn eq(&self, __arg_0: &ErrorResponse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorResponse) -> bool
This method tests for !=
.