Class FluxzeroErrorReport
java.lang.Object
io.fluxzero.sdk.common.exception.FluxzeroErrorReport
Human-readable Fluxzero error report with a stable error code.
Reports are intended for exception messages and logs. They explain what happened, likely causes, concrete recovery steps, and contextual values that help developers fix the issue without having to inspect the SDK internals first.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FluxzeroErrorReport.Builderbuilder(FluxzeroErrorCode code, String title) Creates a builder for a report with the given code and title.format()Formats this report as a multi-line exception message.Formats this report as a best-effort exception message.Returns the stable machine-readable error code.toString()
-
Constructor Details
-
FluxzeroErrorReport
public FluxzeroErrorReport()
-
-
Method Details
-
builder
Creates a builder for a report with the given code and title. -
getErrorCode
Returns the stable machine-readable error code. -
format
Formats this report as a multi-line exception message. -
formatSafely
Formats this report as a best-effort exception message.If report rendering itself fails, the fallback keeps the stable error code, title, and documentation URL so error reporting does not hide the original SDK failure.
-
toString
-