Errors ====== Both SDKs map gRPC/Connect status codes into typed OLO SDK errors. Platform Connect failures may also set ``reason`` from the ``olo-error-reason`` header. .. tab-set:: :sync-group: sdk-language .. tab-item:: Python :sync: python .. automodule:: olo.errors :members: :show-inheritance: .. tab-item:: TypeScript :sync: typescript RPC failures are mapped from Connect/gRPC status codes to typed ``OloError`` subclasses. **Base types** - :doc:`OloError ` — base class for all SDK errors. - ``OloErrorOptions`` — metadata attached to an SDK error. - ``wrapRpcError`` — map thrown values to typed SDK errors. **Typed errors** - :doc:`OloAmbiguousNamespace ` - :doc:`OloTimeoutError ` - :doc:`OloInvalidArgument ` - :doc:`OloNotFound ` - :doc:`OloUnavailable ` - :doc:`OloFailedPrecondition ` - :doc:`OloInternalError ` - :doc:`OloUnauthenticated ` - :doc:`OloPermissionDenied ` - :doc:`OloPlatformNotConfigured `