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