Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparing with other Yandex Cloud services
    • Overview
    • Managing dependencies
    • Request handler
    • Logging
    • Error handling
    • Using the SDK
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Developing in Bash
  2. Error handling

Bash function error handling

Written by
Yandex Cloud
Updated at July 2, 2026
View in Markdown

The Bash script’s standard error output stream, stderr, is sent to the centralized logging system.

If the script terminates with a code other than 0, this indicates an execution error. In this case, the content of the standard output stream is redirected to the log and the function returns this error:

{
    "errorType": "BashScriptExecutionError"
}

If the function response exceeds 1 MB, the function returns the following error:

{
    "errorType": "BashScriptReadOutputError"
}

Was the article helpful?

Previous
Logging
Next
Using the SDK
© 2026 Direct Cursus Technology L.L.C.