Sha256: 8463a8855cef76134839ebb865e4ac176fd4968b184cb0fc1d3605da64e56400

Contents?: true

Size: 1.1 KB

Versions: 16

Compression:

Stored size: 1.1 KB

Contents

# frozen_string_literal: true

module Diffend
  # Build runner app errors
  module Errors
    # Base error class from which all the errors should inherit
    BaseError = Class.new(StandardError)
    # Raised when configuration file is malformed
    MalformedConfigurationFile = Class.new(BaseError)
    # Raised when project_id is missing in configuration file
    ProjectIdMissingInConfigurationFile = Class.new(BaseError)
    # Raised when shareable_id is missing in configuration file
    ShareableIdMissingInConfigurationFile = Class.new(BaseError)
    # Raised when shareable_key is missing in configuration file
    ShareableKeyMissingInConfigurationFile = Class.new(BaseError)
    # Raised when build_path is missing in configuration file
    BuildPathMissingInConfigurationFile = Class.new(BaseError)
    # Raised when server-side error occurs
    RequestServerError = Class.new(BaseError)
    # Raised when we had an exception that we know how to handle
    HandledException = Class.new(BaseError)
    # Raised when we are unable to resolve dependencies
    DependenciesResolveException = Class.new(BaseError)
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
diffend-monitor-0.2.40 lib/diffend/errors.rb
diffend-0.2.40 lib/diffend/errors.rb
diffend-monitor-0.2.39 lib/diffend/errors.rb
diffend-0.2.39 lib/diffend/errors.rb
diffend-monitor-0.2.38 lib/diffend/errors.rb
diffend-0.2.38 lib/diffend/errors.rb
diffend-monitor-0.2.37 lib/diffend/errors.rb
diffend-0.2.37 lib/diffend/errors.rb
diffend-monitor-0.2.36 lib/diffend/errors.rb
diffend-0.2.36 lib/diffend/errors.rb
diffend-monitor-0.2.35 lib/diffend/errors.rb
diffend-0.2.35 lib/diffend/errors.rb
diffend-monitor-0.2.34 lib/diffend/errors.rb
diffend-0.2.34 lib/diffend/errors.rb
diffend-monitor-0.2.33 lib/diffend/errors.rb
diffend-0.2.33 lib/diffend/errors.rb