mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Remove redundant function declaration
This commit is contained in:
parent
2609675a9c
commit
54c6dab3e2
1 changed files with 1 additions and 5 deletions
|
@ -1,10 +1,6 @@
|
|||
// # Validation Error
|
||||
// Custom error class with status code and type prefilled.
|
||||
|
||||
function ValidationError(message) {
|
||||
return new ValidationError(message, null);
|
||||
}
|
||||
|
||||
function ValidationError(message, offendingProperty) {
|
||||
this.message = message;
|
||||
this.stack = new Error().stack;
|
||||
|
|
Loading…
Add table
Reference in a new issue