Function craftErrorResolver

Crafts a new error resolver with the given properties.