Skip to content

Latest commit

 

History

History
 
 

error-handling

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Error Handling Sample

In this sample we just load a simple metadata file that the mockserver will leverage alongside with static mock data defined in json files

The mock data file must be named with the same name as the EntitySet you're mocking.

The RootEntity file implements the executeAction method now, meaning that it will be called when you define a custom action. It also throw an error for a specific object with key ID === 1

Used / Implemented API function