Exception: Arfi::Errors::InvalidSchemaFormat

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

Overview

This error is raised when Rails project schema format is not schema.rb

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidSchemaFormat.



16
17
18
19
# File 'lib/arfi/errors.rb', line 16

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