Using npm module cypress-wait-until, is there a way to catch errorMsg if cy.waitUntil() has completed all possible intervals and exceeded timeout? Thereby, providing a point of failure.
Example code waiting for an entry to be found in a log. Custom command cy.cmdAvailable() response is Chainable<boolean>, returns true when a specific service is yet available, else false:
cy.waitUntil(() => cy.cmdAvailable()), {
errorMsg: 'ERROR: Not Available',
verbose: true,
customCheckMessage: 'CHECK: Availability'
}).then($status => {
expect($status).to.be.a('boolean');
});