Skip to content

ObjectStoreException

A failure talking to an object store.

The shared supertype of every provider’s own storage exception, so code that works against ObjectStoreClientInterface can catch one type instead of enumerating providers. Each provider keeps its own subclass, so catch (S3StorageException) still narrows to S3 when that distinction matters.

class ObjectStoreException extends RuntimeException

ExtendsRuntimeException
Since3.2.0
SourceObjectStoreException.php

These come from an ancestor and are documented where they are declared.

MethodDeclared inDescription
getCode()Exception
getFile()Exception
getLine()Exception
getMessage()Exception
getPrevious()Exception
getTrace()Exception
getTraceAsString()Exception