Added documentation to Detect.Utils.format_error; final commit to dev-1.3