Sha256: a3c58b237442628bacd8b2b77e892842abc0ca2430340291337cc5b6b9a16a59
Contents?: true
Size: 1.16 KB
Versions: 36
Compression:
Stored size: 1.16 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class RateLimitExceededError < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # A short code indicating the error code returned. field :code, ::OpenApiSDK::Shared::RateLimitExceededCode, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::RateLimitExceededCode, false) } } # A human readable explanation of what went wrong. field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } } # A link to our documentation with more details about this error code field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doc_url') } } sig { params(code: ::OpenApiSDK::Shared::RateLimitExceededCode, message: ::String, doc_url: T.nilable(::String)).void } def initialize(code: nil, message: nil, doc_url: nil) @code = code @message = message @doc_url = doc_url end end end end
Version data entries
36 entries across 36 versions & 1 rubygems