Method: Iry::StatementInvalid#error

Defined in:
lib/iry.rb

#errorActiveModel::Error (readonly)

Returns error attached to the record for the constraint violation.

Returns:

  • (ActiveModel::Error)

    error attached to the record for the constraint violation



66
67
68
# File 'lib/iry.rb', line 66

def error
  @error
end