@Nullable
    @Override
    default Status apply(RequestContext ctx, Status status, Throwable throwable, Metadata metadata) {
        return handleException(ctx, throwable, metadata, this::applyStatusProto);
    }
A {@link GoogleGrpcExceptionHandlerFunction} that provides a way to include details of a status into
a {@link Metadata}. You can implement a mapping function to convert {@link Throwable} into
a {@link com.google.rpc.Status} which is stored in the `grpc-status-details-bin` key in the {@link Metadata}.
If a given {@link Throwable} is an instance of either {@link StatusRuntimeException} or
{@link StatusException}, the {@link Status} retrieved from the exception is
returned with higher priority.
grpc/src/main/java/com/linecorp/armeria/common/grpc/GoogleGrpcExceptionHandlerFunction.java