Module: utilities

utilities

Source:

Methods

<static> success(error, callback) → {Boolean}

Check if error is null, if it is not, convert it to a GitError and call the callback.
Parameters:
Name Type Description
error Object
callback Function
Source:
Returns:
True if the error was null, false otherwise.
Type
Boolean