Class: MultipleBindingsFoundError
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:8
Error thrown when multiple Durable Object bindings match the path segment.
This indicates an ambiguous binding resolution that requires more specific environment configuration or path segment naming. This is a genuine configuration error that should be fixed.
Extends
Error
Constructors
Constructor
new MultipleBindingsFoundError(
pathSegment
,matchedBindings
):MultipleBindingsFoundError
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:14
Parameters
pathSegment
string
matchedBindings
string
[]
Returns
MultipleBindingsFoundError
Overrides
Error.constructor
Properties
availableBindings
availableBindings:
string
[]
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:11
code
code:
"MULTIPLE_BINDINGS_FOUND"
='MULTIPLE_BINDINGS_FOUND'
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:9
httpErrorCode
httpErrorCode:
number
=400
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:10
matchedBindings
matchedBindings:
string
[]
Defined in: packages/utils/src/get-do-namespace-from-path-segment.ts:12