Sha256: 02aea4401fea6874acd773c5a4be151c3cb56b1cface7dd6cfb2c11710cbbc6d

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

module Pallets
  # Generic class for all Pallets-related errors
  class PalletsError < StandardError
  end

  # Raised when a workflow is not properly defined
  class WorkflowError < PalletsError
  end

  # Raised when Pallets needs to shutdown
  # NOTE: Do not rescue it!
  class Shutdown < Interrupt
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pallets-0.11.0 lib/pallets/errors.rb
pallets-0.10.0 lib/pallets/errors.rb
pallets-0.9.0 lib/pallets/errors.rb
pallets-0.8.0 lib/pallets/errors.rb
pallets-0.7.0 lib/pallets/errors.rb
pallets-0.6.0 lib/pallets/errors.rb
pallets-0.5.1 lib/pallets/errors.rb
pallets-0.5.0 lib/pallets/errors.rb
pallets-0.4.0 lib/pallets/errors.rb
pallets-0.3.0 lib/pallets/errors.rb