Skip to content

Commit ef78aa1

Browse files
committed
rename
1 parent 31e55aa commit ef78aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compound.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
export type ArrayResultOptions = {
1+
export type ResultErrorOptions = {
22
cause: unknown;
33
isHtml: boolean;
44
};
55
export class ResultError extends Error {
66
isHtml: boolean;
77
override name = "ArrayResultError";
8-
constructor(message: string, options: Partial<ArrayResultOptions> = {}) {
8+
constructor(message: string, options: Partial<ResultErrorOptions> = {}) {
99
super(message, { cause: options.cause });
1010
this.isHtml = options.isHtml ?? false;
1111
}

0 commit comments

Comments
 (0)