Sha256: 8971694f8c26a7dadac5ce398f1459a37ecb1a60e1da4b825fcba3e52d6f0c81

Contents?: true

Size: 882 Bytes

Versions: 3

Compression:

Stored size: 882 Bytes

Contents

module Portier
  #*************************************************************************************
  # Error that will be raised if access to the action is denied
  #*************************************************************************************
  class AccessDenied < StandardError
  end

  #*************************************************************************************
  # Error that will be raised if the permission wasn't defined
  #*************************************************************************************
  class NoPermissionError < StandardError
  end

  #*************************************************************************************
  # Error that will be raised if the permission isn't initialized
  #*************************************************************************************
  class Uninitalized < StandardError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
portier-1.1.1 lib/portier/errors.rb
portier-1.1.0 lib/portier/errors.rb
portier-1.0.3 lib/portier/errors.rb