Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 347 Bytes

brisket.onerror.md

File metadata and controls

15 lines (12 loc) · 347 Bytes

Brisket.onError

You can register multiple error callbacks, and they will be called in the same order as they were registered.

Creating Error Event Callbacks

Brisket.onError(function(error) {
    console.log("Error: ", error);
});

Brisket.onError(function(error) {
    customLogger.log("Error: ", error);
});