Exception: SisRuby::MissingIdError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/sis_ruby/exceptions/missing_id_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(id_field_name) ⇒ MissingIdError

Returns a new instance of MissingIdError.



4
5
6
# File 'lib/sis_ruby/exceptions/missing_id_error.rb', line 4

def initialize(id_field_name)
  @id_field_name = id_field_name
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/sis_ruby/exceptions/missing_id_error.rb', line 8

def to_s
  "Missing required id field #{@id_field_name}}"
end