Skip to main content

Class: MissingInstanceNameError

Defined in: route-do-request.ts:13

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: route-do-request.ts:17

Parameters

pathname

string

Returns

MissingInstanceNameError

Overrides

Error.constructor

Properties

code

code: "MISSING_INSTANCE_NAME" = 'MISSING_INSTANCE_NAME'

Defined in: route-do-request.ts:14


httpErrorCode

httpErrorCode: number = 400

Defined in: route-do-request.ts:15