Skip to content

Commit

Permalink
add node:querystring to workerd (#2944)
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Oct 19, 2024
1 parent fa71689 commit 0617740
Show file tree
Hide file tree
Showing 6 changed files with 1,202 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/node/internal/internal_errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,13 @@ export class ERR_INVALID_FILE_URL_PATH extends NodeError {
}
}

export class ERR_INVALID_URI extends NodeError {
constructor() {
super('ERR_INVALID_URI', 'URI malformed');
this.name = 'URIError';
}
}

export function aggregateTwoErrors(innerError: any, outerError: any) {
if (innerError && outerError && innerError !== outerError) {
if (Array.isArray(outerError.errors)) {
Expand Down
Loading

0 comments on commit 0617740

Please sign in to comment.