Attaches a callback for only the rejection of the Promise.
method
SQLQuery.catch
onrejected?: null | (reason: any) => TResult | PromiseLike<TResult>
): Promise<T | TResult>;
@param onrejected
The callback to execute when the Promise is rejected.
@returns
A Promise for the completion of the callback.