Constructor
# new ObserverError(msg)
Represents a failure in observer communication between repositories.
Error thrown when observer communication fails.
Parameters:
Name | Type | Description |
---|---|---|
msg |
string
|
Error
|
The error message or Error object. |
Example
try {
// Some repository observer operation
} catch (error) {
if (error instanceof ObserverError) {
console.error('Observer communication failed:', error.message);
}
}