InvocationResult
interface in meocord/testing Since 4.1.0
interface InvocationResultHow a call made with TestingModule.invoke ended.
Members
ran
ran: booleanWhether the handler ran; false when a guard denied the call or an interceptor skipped it.
error
error?: unknownThe error a filter handled, when the call failed and a @UseFilter or global filter caught it. For a call made
while init() ran, which a close() then ended, it is an error with the message "The bot stopped before this call
started.", and ran is false: the call doesn't start, as one the bot drops when it stops.