Exception: MLClient::MLClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ml_client/errors.rb

Overview

MLClient is the base error from which all other more specific errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ MLClientError

Returns a new instance of MLClientError.



8
9
10
11
# File 'lib/ml_client/errors.rb', line 8

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

Instance Attribute Details

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/ml_client/errors.rb', line 6

def message
  @message
end