# `GeoGenius.StagingError`
[🔗](https://github.com/agoodway/geo_genius/blob/main/lib/geo_genius/error.ex#L121)

Raised when a staging table cannot be written to or read from.

Carries the operation that was attempted (`"insert"`, `"stream"`, or
`"count"`) and the original driver error as `:reason`, since staging issues
raw SQL rather than calling a catalog function.

# `t`

```elixir
@type t() :: %GeoGenius.StagingError{
  __exception__: true,
  message: String.t(),
  operation: String.t(),
  reason: term()
}
```

---

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