Exception: Toys::ContextualError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/toys/errors.rb

Overview

A wrapper exception used to provide user-oriented context for an exception

Instance Attribute Summary collapse

Instance Attribute Details

Returns the value of attribute banner.



61
62
63
# File 'lib/toys/errors.rb', line 61

def banner
  @banner
end

#causeObject (readonly)

Returns the value of attribute cause.



60
61
62
# File 'lib/toys/errors.rb', line 60

def cause
  @cause
end

#config_lineObject

Returns the value of attribute config_line.



64
65
66
# File 'lib/toys/errors.rb', line 64

def config_line
  @config_line
end

#config_pathObject

Returns the value of attribute config_path.



63
64
65
# File 'lib/toys/errors.rb', line 63

def config_path
  @config_path
end

#tool_argsObject

Returns the value of attribute tool_args.



66
67
68
# File 'lib/toys/errors.rb', line 66

def tool_args
  @tool_args
end

#tool_nameObject

Returns the value of attribute tool_name.



65
66
67
# File 'lib/toys/errors.rb', line 65

def tool_name
  @tool_name
end