feat(lang): added originalException and originalStack to BaseException
This commit is contained in:
@ -176,8 +176,10 @@ class FunctionWrapper {
|
||||
|
||||
class BaseException extends Error {
|
||||
final String message;
|
||||
final originalException;
|
||||
final originalStack;
|
||||
|
||||
BaseException([this.message]);
|
||||
BaseException([this.message, this.originalException, this.originalStack]);
|
||||
|
||||
String toString() {
|
||||
return this.message;
|
||||
|
Reference in New Issue
Block a user