extend errors with nesting