The Runner differentiates between errors related to the execution of a background function.

Timeout

name
TimeoutError
code
ER0001

This error is thrown by the Runner when an execution exceeds the max duration configured on the corresponding background function.

Out of Memory

name
OOMError
code
ER0002

This error is thrown by the Runner when an execution is using more memory than the allowed maximum configured on the corresponding background function.

Non Zero Exit Code

name
NonZeroExitCodeError
code
ER0003

This error is thrown when the Runner exit code is different than 0. It means your execution failed, and that there’s an error in your code

The Builder emits sourcemaps, so you are able to identify the root cause and fix your code fast