See the Writer implementation for detailed diagnostics.
Writer
pub const DepthError = Error || error{ExceededMaxDepth}