Last updated 6 years ago
Was this helpful?
When axios interceptor catch error api fired with 'apiErrorEvent' name.
Event value contains in .detail field.
window.addEventListener( 'apiErrorEvent', evt => { console.log(evt.detail.errors); }, false );