Exception: Parse::Embeddings::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/embeddings.rb

Overview

Common superclass for every embeddings-layer exception. Concrete providers (OpenAI, Cohere, Voyage, …) should raise subclasses of this so retry middleware and caller ‘rescue` chains have a single target. Inherits from StandardError, not Parse::Error, because embedding providers are external HTTP boundaries — their failures are distinct from Parse Server protocol errors.