Class: MissingInstanceNameError
Defined in: packages/utils/src/route-do-request.ts:12
Error thrown when a pathname has a valid doBindingName segment but not a doInstanceNameOrId segment.
A valid DO path must have at least 2 segments after prefix removal: [/prefix]/doBindingName/doInstanceNameOrId[/additional-path]
Extends
Error
Constructors
Constructor
new MissingInstanceNameError(
pathname
):MissingInstanceNameError
Defined in: packages/utils/src/route-do-request.ts:16
Parameters
pathname
string
Returns
MissingInstanceNameError
Overrides
Error.constructor
Properties
code
code:
"MISSING_INSTANCE_NAME"
='MISSING_INSTANCE_NAME'
Defined in: packages/utils/src/route-do-request.ts:13
httpErrorCode
httpErrorCode:
number
=400
Defined in: packages/utils/src/route-do-request.ts:14