LocalEndpointNotFoundError Class

Exception raised if local endpoint cannot be found.

Inheritance
LocalEndpointNotFoundError

Constructor

LocalEndpointNotFoundError(endpoint_name: str, deployment_name: str | None = None, error_category='UserError')

Parameters

Name Description
endpoint_name
Required
deployment_name
default value: None
error_category
default value: UserError

Methods

add_note

Exception.add_note(note) – add a note to the exception

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

raise_with_traceback() -> None

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args

error_category

Return the error category.

Returns

Type Description

The error category.

no_personal_data_message

Return the error message with no personal data.

Returns

Type Description
str

No personal data error message.

target

Return the error target.

Returns

Type Description

The error target.