erictgrubaugh
N/error.Error
CommonFunctions
try { // stuff } catch (e) { throw error.create({name: "MY_CUSTOM_ERROR", message: "Oh no!"}); }