Class: SignwellSDK::Models::ValidationErrorResponse

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

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(errors:) ⇒ Object

Some parameter documentations has been truncated, see SignwellSDK::Models::ValidationErrorResponse for more details.

Validation error response. The errors object contains field-specific error details with dynamic keys.

Parameters:

  • errors (Hash{Symbol=>Object})

    Field-specific validation errors. Keys are field names (e.g., recipients, fields



# File 'lib/signwell_sdk/models/validation_error_response.rb', line 14

Instance Attribute Details

#errorsHash{Symbol=>Object}

Field-specific validation errors. Keys are field names (e.g., recipients, fields, files). Values can be strings, arrays of strings, or nested objects with further field-specific errors.

Returns:

  • (Hash{Symbol=>Object})


12
# File 'lib/signwell_sdk/models/validation_error_response.rb', line 12

required :errors, SignwellSDK::Internal::Type::HashOf[SignwellSDK::Internal::Type::Unknown]