Skip to content

Commit 22433a6

Browse files
committed
doc: update documentation to clarify that exception handler resolution is based on error class name
1 parent b4d307c commit 22433a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/event-handler/src/appsync-graphql/ExceptionHandlerRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ExceptionHandlerRegistry {
5050
/**
5151
* Resolves and returns the appropriate exception handler for a given error instance.
5252
*
53-
* This method attempts to find a registered exception handler based on the error's constructor name.
53+
* This method attempts to find a registered exception handler based on the error class name.
5454
* If a matching handler is found, it is returned; otherwise, `undefined` is returned.
5555
*
5656
* @param error - The error instance for which to resolve an exception handler.

0 commit comments

Comments
 (0)