Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
    • Overview
    • Creating and configuring a channel
    • Entity field configuration
    • Template language
    • Entities
    • Pipes
      • Pipe: Basic Concepts
      • Result
      • Errors
      • Log
      • Pack
      • Unpack
      • HTTP Request
      • Store Set
      • Store Get
      • Selector
      • SQL
      • Eventer
      • Scheduler
    • Pipelines
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Custom channels guide
  • Pipes
  • Errors
Documentation for version v72

Errors

caution

Can only be used in Entities pipelines (see Entities).

Description​

The Error pipe interrupts the execution of an event in the pipeline with an error. Allows you to set the error code and text.

Peculiarities:

  • Has no exits;
  • params.message must be a text.

Structure​

|Field|Value|Type|Example|Required|Description| |id|number|10|yes|Pipe's ID| |type|string|"error"|yes|Pipe's type| |params|ErrorParamsObject|no|Type-specific's parameters| |outsOutsObject|no|Pipe's outputs|


ErrorParamsObject
FiTypeExampleReqieredDescription
codenumber400noError code
message

srtring

"$in.data.response.error_message"noText of an error. Can not be empty if it was specified

Errors​

Error processing params.message is your template is incorrect or the field was not found.

Examples​

Example 1:

{
"id": 10,
"type": "error",
"params": {
"code": 500
}
}

Example 2:

{
"id": 10,
"type": "error",
"params": {
"code": 500,
"message": "$in.data.error"
}
}
Last updated on Nov 13, 2023
Previous
Result
Next
Log
  • Description
  • Structure
  • Errors
  • Examples
© 2015 - 2025 Altcraft, LLC. All rights reserved.