We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e55aa commit ef78aa1Copy full SHA for ef78aa1
src/compound.ts
@@ -1,11 +1,11 @@
1
-export type ArrayResultOptions = {
+export type ResultErrorOptions = {
2
cause: unknown;
3
isHtml: boolean;
4
};
5
export class ResultError extends Error {
6
7
override name = "ArrayResultError";
8
- constructor(message: string, options: Partial<ArrayResultOptions> = {}) {
+ constructor(message: string, options: Partial<ResultErrorOptions> = {}) {
9
super(message, { cause: options.cause });
10
this.isHtml = options.isHtml ?? false;
11
}
0 commit comments