static UnframedGrpcErrorHandler ofJson(UnframedGrpcStatusMappingFunction statusMappingFunction) {
        return JsonUnframedGrpcErrorHandler.of(statusMappingFunction);
    }
Returns a JSON response based on Google APIs.
See <a href="https://cloud.google.com/apis/design/errors#error_model">Google error model</a>
for more information.

@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