Exception: NRSER::UnreachableError

Inherits:
RuntimeError
  • Object
show all
Includes:
NicerError
Defined in:
lib/nrser/errors/unreachable_error.rb

Overview

Raised in places where execution should never reach.

Constant Summary

Constants included from NicerError

NicerError::DEFAULT_COLUMN_WIDTH

Instance Method Summary collapse

Methods included from NicerError

#add_extended_message?, column_width, #context, #context_section, #details, #details_section, #extended_message, #format_message, #format_message_segment, included, #initialize, #to_s

Instance Method Details

#default_messageString

The default message

Returns:



31
32
33
# File 'lib/nrser/errors/unreachable_error.rb', line 31

def default_message
  "An expression that should be unreachable has been executed"
end