Exception: CoreLibrary::AnyOfValidationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/apimatic-core/exceptions/any_of_validation_exception.rb

Overview

Custom exception class for AnyOfValidation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ AnyOfValidationException

Initializes a new instance of AnyOfValidationException with the specified message.

Parameters:

  • message (String)

    The error message.



8
9
10
11
# File 'lib/apimatic-core/exceptions/any_of_validation_exception.rb', line 8

def initialize(message)
  @message = message
  super(message)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/apimatic-core/exceptions/any_of_validation_exception.rb', line 4

def message
  @message
end