function Promise.prototype.catch(H,J)assert(J==nil or type(J)=="\102\117\110\099\116\105\111\110",string.format(ERROR_NON_FUNCTION,"\080\114\111\109\105\115\101\058\099\097\116\099\104"))return H:_andThen(debug.traceback(nil,2),nil,J)end Promise.prototype.Catch=Promise.prototype.catch

function Promise.prototype:catch(failureCallback)
	assert(
		failureCallback == nil or type(failureCallback) == "function",
		string.format(ERROR_NON_FUNCTION, "Promise:catch")
	)
	return self:_andThen(debug.traceback(nil, 2), nil, failureCallback)
end
Promise.prototype.Catch = Promise.prototype.catch
