public interface ErrorHandler
Modifier and Type | Field and Description |
---|---|
static ErrorHandler |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
apply(Context ctx,
Throwable cause,
StatusCode statusCode) |
static ErrorHandler |
log(org.slf4j.Logger log,
StatusCode... quiet) |
default ErrorHandler |
then(ErrorHandler next) |
static final ErrorHandler DEFAULT
static ErrorHandler log(org.slf4j.Logger log, StatusCode... quiet)
@Nonnull void apply(@Nonnull Context ctx, @Nonnull Throwable cause, @Nonnull StatusCode statusCode)
@Nonnull default ErrorHandler then(@Nonnull ErrorHandler next)
Copyright © 2019. All rights reserved.