class AWS::ServiceError < AWS::Error
A service answered with an error: its code (NotFoundException,
the service's prefix dropped; match on it), its message, the HTTP
status and the request id to give AWS support. The message never holds
the request's body or keys.
/home/runner/work/aws/aws/src/errors.qz:11
Class methods
def self.new(*, code: String, message: String, status: Int, request_id: String? = …) -> AWS::ServiceError
An error with the service's code, message, status and
request_id.
Methods
def code -> String
The error's code: NotFoundException, AccessDeniedException.
def detail -> String
The service's message alone.
def status -> Int
The HTTP status.
def request_id -> String?
The x-amzn-RequestId of the answer, when there is one.