Class: SignwellSDK::Models::ErrorResponse::Meta

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/signwell_sdk/models/error_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(error:, message:, messages: nil) ⇒ Object

Parameters:

  • error (String)

    Error code identifier

  • message (String)

    Detailed error message

  • messages (Array<String>) (defaults to: nil)

    List of error messages



# File 'lib/signwell_sdk/models/error_response.rb', line 44

Instance Attribute Details

#errorString

Error code identifier

Returns:

  • (String)


30
# File 'lib/signwell_sdk/models/error_response.rb', line 30

required :error, String

#messageString

Detailed error message

Returns:

  • (String)


36
# File 'lib/signwell_sdk/models/error_response.rb', line 36

required :message, String

#messagesArray<String>?

List of error messages

Returns:

  • (Array<String>, nil)


42
# File 'lib/signwell_sdk/models/error_response.rb', line 42

optional :messages, SignwellSDK::Internal::Type::ArrayOf[String]