{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/prep/sidebars.yaml","oas-products/prep/api/openapi.yaml":"oas-products/prep/api/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["split","openapi-code-sample"]},"type":"markdown"},"seo":{"title":"Error handling","description":"Hamilton's Developer Portal is used to help reference and understand the APIs of Hamilton products.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"error-handling"},"children":["Error handling"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"id":"51665783051","level":2},"children":["Listen for runtime errors "]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Runtime errors are sent over the errors Websocket. It is important to always be listening for these events as they can occur at any time."]},{"$$mdtype":"Tag","name":"p","attributes":{"className":"file"},"children":["ws://[IP_address]/NimbusLite/instincterrors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This event contains error information and options for how to resolve the error, which can be either a single error or a group of related errors."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"id":"51665784203","level":2},"children":["Handle runtime errors "]},{"$$mdtype":"Tag","name":"Split","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To handle the runtime error, use the data from the runtime error event to specify the desired resolution. For group errors, use a single call that specifies the resolution for each error. "]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-products/prep/api/openapi.yaml","operationId":"HandleRuntimeError","parameters":{},"environments":{}},"children":[]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]}]},"headings":[{"value":"Error handling","id":"error-handling","depth":1},{"value":"Listen for runtime errors","id":"51665783051","depth":2},{"value":"Handle runtime errors","id":"51665784203","depth":2}],"frontmatter":{"seo":{"title":"Error handling"}},"lastModified":"2026-07-30T19:22:04.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pages/prep_recipe_error_handling","userData":{"isAuthenticated":false,"teams":["anonymous"]}}