diff --git a/src/mods/result/err.ts b/src/mods/result/err.ts index 70bf4e1..a9aec29 100644 --- a/src/mods/result/err.ts +++ b/src/mods/result/err.ts @@ -205,7 +205,7 @@ export class Err { throw(thrower: (e: Err) => void): never { thrower(this) - throw new Panic(`Thrown result was try-catched`) + throw new Panic(`Thrown`, { cause: this }) } /**