Exception thrown by
DataObject::write if validation fails. By
throwing an exception rather than a user error, the exception can be caught in
unit tests and as such can be used as a successful test.
Methods inherited from Exception
Magic methods summary
ValidationResult} or string