Package org.forgerock.api.annotations
Annotation Type ApiError
-
public @interface ApiErrorDetails of an error that could be returned.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intcodeThe error code that will be returned in this situation.StringdescriptionA description of the error condition, and what may have caused it.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description SchemadetailSchemaThe schema for the error detail, if relevant.StringidAn identifier for this error condition.
-
-
-
-
description
String description
A description of the error condition, and what may have caused it.
-
-
-
id
String id
An identifier for this error condition. If specified, this error will be defined at the top-level and referenced when used. If not specified, this error will be declared inline.- Default:
- ""
-
-
-
detailSchema
Schema detailSchema
The schema for the error detail, if relevant.- Default:
- @org.forgerock.api.annotations.Schema
-
-