Exception: Rubuild::Build::Context::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubuild/build/context.rb

Overview

Rubuild::Build::Context::Error Superclass of errors that get generated by a Build::Context.

Direct Known Subclasses

Run, Runable

Defined Under Namespace

Classes: Run, Runable

Instance Method Summary collapse

Constructor Details

#initialize(context, message) ⇒ Error

Create a Rubuild::Build::Context::Error. Used internally.

context

the Rubuild::Build::Context which generated the error.

message

Human-readable string describing the error.



25
26
27
28
# File 'lib/rubuild/build/context.rb', line 25

def initialize(context, message)
  super(message)
  self.rubuild_build_context_error__context = context
end