struct Ven::Suite::Trace

Overview

Represents an individual trace entry in an error's traceback.

Defined in:

ven/suite/trace.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file : String, line : Int32, name : String) #

[View source]
def self.new(tag : QTag, name : String) #

[View source]

Instance Method Detail

def ==(tag : QTag) #

[View source]
def file : String #

[View source]
def line : Int32 #

[View source]
def name : String #

[View source]
def to_s(io) #

Stringifies this trace.

Reads the file to provide the excerpt, unless the file does not exist.

Colorizes the output.


[View source]