Document.ErrorCallback

The delegate used by the valid function to report errors

struct Document
alias ErrorCallback = bool delegate nothrow @safe