InvalidLocalEndpointError Class
Exception raised when local endpoint is invalid.
- Inheritance
-
InvalidLocalEndpointError
Constructor
InvalidLocalEndpointError(message: str, no_personal_data_message: str, error_category='UserError')
Parameters
Name | Description |
---|---|
message
Required
|
|
no_personal_data_message
Required
|
|
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
no_personal_data_message
Return the error message with no personal data.
Returns
Type | Description |
---|---|
No personal data error message. |
target
Azure SDK for Python