Exception: Proscenium::Builder::ResolveError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/proscenium/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, error_msg) ⇒ ResolveError

Returns a new instance of ResolveError.



81
82
83
# File 'lib/proscenium/builder.rb', line 81

def initialize(path, error_msg)
  super("Failed to resolve '#{path}' -- #{error_msg}")
end

Instance Attribute Details

#error_msgObject (readonly)

Returns the value of attribute error_msg.



79
80
81
# File 'lib/proscenium/builder.rb', line 79

def error_msg
  @error_msg
end

#pathObject (readonly)

Returns the value of attribute path.



79
80
81
# File 'lib/proscenium/builder.rb', line 79

def path
  @path
end