public class DefaultHttpErrorAttributesAdapter extends Object implements HttpErrorAttributesAdapter
HttpErrorAttributesAdapter which converts the given
HttpError to a Map like following:
{
"errors": [
{
"code": "the_code",
"message": "the_message",
"arguments": {
"name": "value"
}
}, ...
],
"fingerprint": "value"
}
| Constructor and Description |
|---|
DefaultHttpErrorAttributesAdapter(ErrorsProperties errorsProperties)
Constructs an instance of
DefaultHttpErrorAttributesAdapter given the
configuration properties. |
public DefaultHttpErrorAttributesAdapter(ErrorsProperties errorsProperties)
DefaultHttpErrorAttributesAdapter given the
configuration properties.errorsProperties - Encapsulates the configuration properties to configure the
errors starter.Copyright © 2019. All rights reserved.