CORE-5832: switched several endpoints from metadactyl's error trapping function to clojure-common's