Sha256: 1210108a1fb3ba0fe7e335fc6e959b554ad0a65509c6759323afa0c87cab3a44

Contents?: true

Size: 1023 Bytes

Versions: 115

Compression:

Stored size: 1023 Bytes

Contents

class RbbtException < StandardError; end
class ParameterException < RbbtException; end
class FieldNotFoundError < RbbtException;end
class TryAgain < RbbtException; end
class ClosedStream < RbbtException; end

class ProcessFailed < RbbtException; end
class Aborted < RbbtException; end

class RemoteServerError < RbbtException; end

class DependencyError < Aborted
  def initialize(msg)
    if defined? Step and Step === msg
      step = msg
      workflow = step.path.split("/")[-3]
      new_msg = [workflow, step.short_path, step.messages.last] * " - "
      new_msg = [step.path, step.messages.last] * ": "
      super(new_msg)
    else
      super(msg)
    end
  end
end

class KeepLocked < Exception
  attr_accessor :payload
  def initialize(payload)
    @payload = payload
  end
end

class KeepBar < Exception
  attr_accessor :payload
  def initialize(payload)
    @payload = payload
  end
end

class StopInsist < Exception
  attr_accessor :exception
  def initialize(exception)
    @exception = exception
  end
end

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
rbbt-util-5.21.129 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.128 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.127 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.126 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.125 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.123 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.122 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.121 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.120 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.119 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.118 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.116 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.115 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.114 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.113 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.112 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.111 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.110 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.109 lib/rbbt/util/misc/exceptions.rb
rbbt-util-5.21.107 lib/rbbt/util/misc/exceptions.rb