function convertRestErrorRe-exportimport { convertRestError } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts"; convertRestError(errorStack: Error, data: RestRequestRejection): ErrorParameterserrorStack: Errordata: RestRequestRejectionReturnsError