Add RFC citation
This commit is contained in:
parent
7c361c07f9
commit
693a11c58e
2 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,10 @@ ERROR_DESCRIPTION = {
|
||||||
|
|
||||||
class ApiException(Exception):
|
class ApiException(Exception):
|
||||||
"""
|
"""
|
||||||
|
Represents an error in the application/problem+json format.
|
||||||
|
|
||||||
|
See: https://tools.ietf.org/html/rfc7807
|
||||||
|
|
||||||
- "type" (string) - A URI reference that identifies the
|
- "type" (string) - A URI reference that identifies the
|
||||||
problem type.
|
problem type.
|
||||||
|
|
||||||
|
|
|
@ -46,10 +46,10 @@ angular.module('quay').directive('signupForm', function () {
|
||||||
UserService.load();
|
UserService.load();
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
$scope.registering = false;
|
$scope.registering = false;
|
||||||
UIService.showFormError('#signupButton', result, null, ApiService);
|
UIService.showFormError('#signupButton', result);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return directiveDefinitionObject;
|
return directiveDefinitionObject;
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue