Skip to content

Commit

Permalink
chore: expose more error classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed May 10, 2024
1 parent d88101b commit d8df3aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class HandlerNotFound extends RangeError {
}
}

class HandlerExecutionError extends Failure {
export class HandlerExecutionError extends Failure {
/**
* @param {API.Capability} capability
* @param {Error} cause
Expand Down Expand Up @@ -248,7 +248,7 @@ class HandlerExecutionError extends Failure {
}
}

class InvocationCapabilityError extends Error {
export class InvocationCapabilityError extends Error {
/**
* @param {any} caps
*/
Expand Down

0 comments on commit d8df3aa

Please sign in to comment.