Class FluxzeroErrorReport.Builder
java.lang.Object
io.fluxzero.sdk.common.exception.FluxzeroErrorReport.Builder
- Enclosing class:
FluxzeroErrorReport
Builder for
FluxzeroErrorReport.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the report.Adds one contextual key/value pair.documentationUrl(String documentationUrl) Overrides the default documentation URL.Adds recovery steps for the "How to fix" section.whatHappened(String... lines) Adds lines for the "What happened" section.whyThisHappened(String... lines) Adds lines for the "Why this happened" section.
-
Method Details
-
whatHappened
Adds lines for the "What happened" section. -
whyThisHappened
Adds lines for the "Why this happened" section. -
howToFix
Adds recovery steps for the "How to fix" section. -
context
Adds one contextual key/value pair. -
documentationUrl
Overrides the default documentation URL. Passnullto omit the docs section. -
build
Builds the report.
-