Dart Documentationangular.mockExceptionWithStack

ExceptionWithStack class

class ExceptionWithStack {
 final dynamic error;
 final dynamic stack;
 ExceptionWithStack(dynamic this.error, dynamic this.stack);
 toString() => "$error\n$stack";
}

Constructors

new ExceptionWithStack(error, stack) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ExceptionWithStack(dynamic this.error, dynamic this.stack);

Properties

final error #

final dynamic error

final stack #

final dynamic stack

Methods

dynamic toString() #

Returns a string representation of this object.

docs inherited from Object
toString() => "$error\n$stack";