API reference > @kontsedal/olas-persist > PersistErrorOp
PersistErrorOp type
Where a PersistOptions.onError fired. Distinguishes the failing operation for routing (e.g. quota-exceeded vs schema-migration-failed vs deserialization-corrupted).
Signature:
typescript
export type PersistErrorOp = 'load' | 'deserialize' | 'serialize' | 'write' | 'migrate' | 'remoteChange';