@Deprecated
    public GrpcServiceBuilder exceptionMapping(GrpcStatusFunction statusFunction) {
        requireNonNull(statusFunction, "statusFunction");
        return exceptionHandler(
                (ctx, status, throwable, metadata) -> statusFunction.apply(ctx, throwable, metadata));
    }
Sets the specified {@link GrpcExceptionHandlerFunction} that maps a {@link Throwable}
to a gRPC {@link Status}.

<p>Note that this method and {@link #addExceptionMapping(Class, Status)} are mutually exclusive.

@deprecated Use {@link #exceptionHandler(GrpcExceptionHandlerFunction)} instead.
grpc/src/main/java/com/linecorp/armeria/server/grpc/GrpcServiceBuilder.java