Enum pagersduty::events::v1::ErrorResponse [] [src]

pub enum ErrorResponse {
    InvalidEvent {
        status: String,
        message: String,
        errors: Vec<String>,
    },
    RateLimited,
    Unexpected(String),
}

Variants

If the event is improperly formatted this will be returned.

Fields of InvalidEvent

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).

This return is used for all other errors that this library didn't account for.

Trait Implementations

impl Debug for ErrorResponse
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorResponse
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.