Oracle CRM On Demand JavaScript API Developer's Guide > Overview of the JavaScript API > Overview of Customizing Buttons >

Error Handling


For methods of the JavaScript APIs that return an object or value, null is returned when an issue occurs. However, the methods for CRUD operations are an exception as they return an error object.

When using the JavaScript API you must implement your own error handling, which gives you the flexibility to either show the error, or capture and handle it. For more information about error handling, see Errors and Error Handling.

Oracle CRM On Demand JavaScript API Developer's Guide, Release 38 Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices.