# `Milvex.Errors.Grpc`

Errors from gRPC operations or Milvus server responses.

Used when:
- Milvus returns an error status code
- gRPC call fails
- Server-side validation fails
- Operation not permitted

# `t`

```elixir
@type t() :: %Milvex.Errors.Grpc{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  code: integer() | atom(),
  details: map() | nil,
  message: String.t(),
  operation: String.t() | atom() | nil,
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Milvex.Errors.Grpc{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  code: term(),
  details: term(),
  message: term(),
  operation: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Milvex.Errors.Grpc` without raising it.

## Keys

- :code
- :message
- :details
- :operation

---

*Consult [api-reference.md](api-reference.md) for complete listing*
