Exception: Arfi::Errors::InvalidSchemaFormat

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

Overview

Raised when Rails schema format is not ruby (‘schema.rb`).

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Invalid schema format. ARFI supports only ruby format schemas.') ⇒ void

Initialize a new InvalidSchemaFormat error with an optional custom message.

Parameters:

  • message (String) (defaults to: 'Invalid schema format. ARFI supports only ruby format schemas.')

    Error message



24
25
26
27
# File 'lib/arfi/errors.rb', line 24

def initialize(message = 'Invalid schema format. ARFI supports only ruby format schemas.')
  @message = message
  super
end