A non-fatal error or warning event.
@type t() :: %GeminiCliSdk.Types.ErrorEvent{ details: map() | nil, exit_code: integer() | nil, extra: map(), kind: atom() | String.t() | nil, message: String.t(), severity: String.t(), stderr: String.t() | nil, stderr_truncated?: boolean() | nil, timestamp: String.t() | nil, type: String.t() }
@spec from_map(map()) :: t()
@spec parse(map() | t()) :: {:ok, t()} | {:error, {:invalid_error_event, CliSubprocessCore.Schema.error_detail()}}
@spec parse!(map() | t()) :: t()
@spec schema() :: Zoi.schema()
@spec to_map(t()) :: map()