Error
Details from an exception thrown from either a data service or on the client can be displayed in a modal using the wire.bsErrorModal
function.
The example below deliberately throws an exception and displays details of the exception by passing the exception object to the error modal.
try {
throw "This is an error";
}
catch(ex){
wire.bsErrorModal(ex);
}
Last updated