pattern dsl error reporting