ErrorHandlingPolicy

The policy for handling errors during serialization and deserialization.

namespace Sirenix.Serialization
{
public enum ErrorHandlingPolicy
{
Resilient = 0
ThrowOnErrors = 1
ThrowOnWarningsAndErrors = 2
}
}

Requirements

Namespace: Sirenix.Serialization
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Members

Definition Description
Resilient Attempts will be made to recover from errors and continue serialization. Data may become invalid.
ThrowOnErrors Exceptions will be thrown when errors are logged.
ThrowOnWarningsAndErrors Exceptions will be thrown when warnings or errors are logged.