Function: isNoHandlerErrorForSubject()
Makaio Framework / bus-core / isNoHandlerErrorForSubject
Function: isNoHandlerErrorForSubject()
Section titled “Function: isNoHandlerErrorForSubject()”isNoHandlerErrorForSubject(
error,fullSubject):boolean
Defined in: ../../../packages/bus-core/src/utils/transport.ts:22
Detects a “no handler” error for a specific request subject.
Works for both in-process NoHandlerError instances and deserialized
errors that carry a code + subject after a transport round-trip.
The subject field is preserved by transport error serialization, so no
fragile message-string matching is needed.
Parameters
Section titled “Parameters”unknown
Error from a relayed request or transport response
fullSubject
Section titled “fullSubject”string
Full request subject key (namespace.subject)
Returns
Section titled “Returns”boolean
True when the error indicates no local handler for this subject