Sha256: c6bb37ebd0c88cffd537687731f3ef873bdde69feab016d11153f9515832a8ba

Contents?: true

Size: 1.19 KB

Versions: 23

Compression:

Stored size: 1.19 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)
    # Failure of a shell command execution
    FailedShellCommand = Class.new(BaseError)
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
diffend-0.2.54 lib/diffend/errors.rb
diffend-monitor-0.2.54 lib/diffend/errors.rb
diffend-0.2.53 lib/diffend/errors.rb
diffend-monitor-0.2.51 lib/diffend/errors.rb
diffend-0.2.51 lib/diffend/errors.rb
diffend-monitor-0.2.50 lib/diffend/errors.rb
diffend-0.2.50 lib/diffend/errors.rb
diffend-monitor-0.2.49 lib/diffend/errors.rb
diffend-0.2.49 lib/diffend/errors.rb
diffend-monitor-0.2.48 lib/diffend/errors.rb
diffend-0.2.48 lib/diffend/errors.rb
diffend-0.2.47 lib/diffend/errors.rb
diffend-monitor-0.2.46 lib/diffend/errors.rb
diffend-0.2.46 lib/diffend/errors.rb
diffend-0.2.45 lib/diffend/errors.rb
diffend-monitor-0.2.44 lib/diffend/errors.rb
diffend-0.2.44 lib/diffend/errors.rb
diffend-monitor-0.2.43 lib/diffend/errors.rb
diffend-0.2.43 lib/diffend/errors.rb
diffend-monitor-0.2.42 lib/diffend/errors.rb