Sha256: 638071137850f1a3726f5feee17f6a2f8154f2b80143798790dab584334cd3c8

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

require 'active_record/errors'
module TransForms

  class NotImplementedError < StandardError
  end

  # Custom error class to distinguish from regular ActiveRecord not found errors, but
  # will trigger the same effect when raised within a transaction.
  class NotFoundFromError < ActiveRecord::RecordNotFound
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trans_forms-0.2.2 lib/trans_forms/errors.rb
trans_forms-0.2.1 lib/trans_forms/errors.rb
trans_forms-0.2.0 lib/trans_forms/errors.rb
trans_forms-0.1.0 lib/trans_forms/errors.rb