Sha256: b5fb715acacb4f62a86f2a8d303d532f91b32692aae166bdc30570e79e2dcc02

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

module Can4
  # A general exception.
  class Error < StandardError; end

  # Raised when using +check_authorization+ without calling +authorize!+.
  class AuthorizationNotPerformed < Error; end

  # Raised when a resource fails a call to +authorize!+.
  class AccessDenied < Error; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
can4-1.0.2 lib/can4/exceptions.rb