Sha256: 26d781bc60d7797b17497b65c5bb29b14a2d110bdcfa5963d38e085d0fb9988b

Contents?: true

Size: 853 Bytes

Versions: 3

Compression:

Stored size: 853 Bytes

Contents

module Videojuicer
  module Exceptions
   
    class NotAuthorised < ::StandardError; end
    
    # Raised when a method requiring instance-specific data from the remote API
    # is called on an object that does not exist remotely.
    class NoResource < ::RuntimeError; end
    
    # Raised when a record cannot be saved because it has attributes that are well rubbish.
    class InvalidRecord < ::RuntimeError; end
    
    # Raised when a request is completely buggered by the remote API.
    class RemoteApplicationError < ::StandardError; end
    
    # Raised when the remote resource refuses to carry out an action.
    class Forbidden < ::StandardError; end
    
    # Raised when status is 401
    class Unauthenticated < ::StandardError; end
    
    # Raised when status is 406
    class NotAcceptable < ::StandardError; end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
videojuicer-vj-sdk-0.1.1 lib/videojuicer/shared/exceptions.rb
videojuicer-vj-sdk-0.1.3 lib/videojuicer/shared/exceptions.rb
videojuicer-vj-sdk-0.1.4 lib/videojuicer/shared/exceptions.rb