Package io.vertx.grpc.common

## Class GrpcErrorException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.VertxException
        - - io.vertx.grpc.common.GrpcErrorException

- All Implemented Interfaces:
    `Serializable`

      public final class GrpcErrorException
      extends VertxException

  Thrown when a failure happens before the response, and it could be interpreted to a gRPC failure, e.g. in practice it means an HTTP/2 stream reset mapped to a gRPC code according to the spec.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `GrpcErrorException​(GrpcError error, GrpcStatus status)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GrpcErrorException` | `create​(StreamResetException sre)` |
    `GrpcError` | `error()` |
    `GrpcStatus` | `status()` |

    - ### Methods inherited from class io.vertx.core.VertxException

      `noStackTrace, noStackTrace, noStackTrace`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### GrpcErrorException

          public GrpcErrorException​(GrpcError error,
                                    GrpcStatus status)

  - ### Method Detail

    - #### create

          public static GrpcErrorException create​(StreamResetException sre)

    - #### error

          public GrpcError error()

    - #### status

          public GrpcStatus status()