Sha256: 095d25335b1235f658a5c35bb3f0528f65054446ccee2c3b3b29b07550f57a3d

Contents?: true

Size: 570 Bytes

Versions: 43

Compression:

Stored size: 570 Bytes

Contents

module RailsOps::Exceptions
  class Base < StandardError; end
  class ValidationFailed < Base; end
  class ModelNotDeleteable < Base; end
  class AuthorizationNotPerformable < Base; end
  class NoAuthorizationPerformed < Base; end
  class MissingContextAttribute < Base; end
  class RoutingNotAvailable < Base; end
  class RollbackRequired < Base; end

  class SubOpValidationFailed < Base
    attr_reader :original_exception

    def initialize(original_exception)
      @original_exception = original_exception
      super original_exception.message
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rails_ops-1.0.17.1 lib/rails_ops/exceptions.rb
rails_ops-1.1.5 lib/rails_ops/exceptions.rb
rails_ops-1.1.4 lib/rails_ops/exceptions.rb
rails_ops-1.1.3 lib/rails_ops/exceptions.rb
rails_ops-1.1.2 lib/rails_ops/exceptions.rb
rails_ops-1.1.1 lib/rails_ops/exceptions.rb
rails_ops-1.1.0 lib/rails_ops/exceptions.rb
rails_ops-1.0.21 lib/rails_ops/exceptions.rb
rails_ops-1.0.20 lib/rails_ops/exceptions.rb
rails_ops-1.0.19 lib/rails_ops/exceptions.rb
rails_ops-1.0.18 lib/rails_ops/exceptions.rb
rails_ops-1.0.17 lib/rails_ops/exceptions.rb
rails_ops-1.0.16 lib/rails_ops/exceptions.rb
rails_ops-1.0.15 lib/rails_ops/exceptions.rb
rails_ops-1.0.14 lib/rails_ops/exceptions.rb
rails_ops-1.0.13 lib/rails_ops/exceptions.rb
rails_ops-1.0.12 lib/rails_ops/exceptions.rb
rails_ops-1.0.11 lib/rails_ops/exceptions.rb
rails_ops-1.0.10 lib/rails_ops/exceptions.rb
rails_ops-1.0.9 lib/rails_ops/exceptions.rb