CommentsApiException constructor
CommentsApiException(})
Builds an exception with the HTTP status code and a stable error code.
messageis the machine-readable error code (e.g.invalid_binding).humanMessageis an optional user-facing/server-provided message.requestIdis an optional correlation id to locate server logs.detailsis optional structured payload (kept for debugging).
Implementation
CommentsApiException(
this.statusCode,
this.message, {
this.humanMessage,
this.requestId,
this.details,
});