class Minitest::UnexpectedError

Overview

Decorator for the original exception.

Included Modules

Defined in:

assertions.cr

Constructors

Instance Method Summary

Instance methods inherited from module Minitest::LocationFilter

__minitest_file : String __minitest_file

Instance methods inherited from class Exception

__minitest_file : String | Nil __minitest_file, __minitest_line : Int32 | Nil __minitest_line, __minitest_location : String __minitest_location

Constructor methods inherited from class Exception

new(message : String | Nil = nil, cause : Exception | Nil = nil, __minitest_file : Nil | String = __FILE__, __minitest_line : Int32 | Nil = __LINE__) new

Constructor Detail

def self.new(exception : Exception) #

[View source]

Instance Method Detail

def __minitest_location : String #

[View source]
def backtrace : Array(String) #
Description copied from class Exception

Returns any backtrace associated with the exception. The backtrace is an array of strings, each containing “0xAddress: Function at File Line Column”.


[View source]
def exception : Exception #

[View source]