static UnframedGrpcErrorHandler of(UnframedGrpcStatusMappingFunction statusMappingFunction) {
        return DefaultUnframedGrpcErrorHandler.of(statusMappingFunction);
    }
Returns a plain text or json response based on the content type.

@param statusMappingFunction The function which maps the {@link Throwable} or gRPC {@link Status} code
                             to an {@link HttpStatus} code.
grpc/src/main/java/com/linecorp/armeria/server/grpc/UnframedGrpcErrorHandler.java