Skip to content

Commit

Permalink
docs: update groups, properties
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 7, 2024
1 parent 4b543d8 commit 329876a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,8 @@ export class UnsupportedOperationError extends Error {
/**
* @ignore
*/
constructor(message?: string, options?: { cause?: unknown }) {
super(message ?? 'operation not supported', options)
constructor(message: string, options?: { cause?: unknown }) {
super(message, options)
this.name = this.constructor.name
this.code = UNSUPPORTED_OPERATION
// @ts-ignore
Expand All @@ -1052,7 +1052,7 @@ export class OperationProcessingError extends Error {
/**
* @ignore
*/
constructor(message?: string, options?: { cause?: unknown; code?: string }) {
constructor(message: string, options?: { cause?: unknown; code?: string }) {
super(message, options)
this.name = this.constructor.name
if (options?.code) {
Expand Down

0 comments on commit 329876a

Please sign in to comment.