Classcorev0.2.1
Notice
Base class for a user-facing refusal or a reported fault.
Throw a Notice to stop a handler and reply to the user. The framework catches it at the controller boundary and renders render, which always decides what the user sees. With report false that render is all that happens. With report true the framework also logs the fault and publishes it to the handledException bus. A raw, non-Notice throw shows the generic message.
abstract class Notice extends ErrorMember visibility
Filter class members by access level.
protected Notice(message: string, options?: ErrorOptions)public abstract render(ctx: RenderContext): ReplyResponse