lib/nanoc/cli/error_handler.rb
# Writes a verbose representation of the error on the given stream.
#
# @param [Error] error The error that should be described
#
# @param [IO] stream The stream to write the description too
#
# @api private
#
# @return [void]
Writes a verbose representation of the error on the given stream.
Writes a verbose representation of the error on the given stream .
def write_verbose_error(error, stream)
      stream.puts "Crashlog created at #{Time.now}"
      self.write_error_message(      stream, error, :verbose => true)
      self.write_compilation_stack(  stream, error, :verbose => true)
      self.write_stack_trace(        stream, error, :verbose => true)
      self.write_version_information(stream,        :verbose => true)
      self.write_system_information( stream,        :verbose => true)
      self.write_installed_gems(     stream,        :verbose => true)
      self.write_environment(        stream,        :verbose => true)
      self.write_gemfile_lock(       stream,        :verbose => true)
      self.write_load_paths(         stream,        :verbose => true)
    end
def write_verbose_error ( error , stream ) stream . puts "Crashlog created at #{Time.now}" self . write_error_message ( stream , error , :verbose => true ) self . write_compilation_stack ( stream , error , :verbose => true ) self . write_stack_trace ( stream , error , :verbose => true ) self . write_version_information ( stream , :verbose => true ) self . write_system_information ( stream , :verbose => true ) self . write_installed_gems ( stream , :verbose => true ) self . write_environment ( stream , :verbose => true ) self . write_gemfile_lock ( stream , :verbose => true ) self . write_load_paths ( stream , :verbose => true ) end
Writes a verbose representation of the error on the given stream.
Writes a verbose representation of the error on the given stream .
# Header # Sections
None
void
error
stream
stream The stream to write the description too
stream The stream to write the description too
api
None