← Home

Elder.js Hook: error

error : Executed only if the script has encountered errors and they are pushed to the errors array.

As the script encounters errors, they are collected and presented on this hook at the end of a request and the end of an entire build.

Props :
perf
helpers
data
settings
request
query
errors
Mutable :
Stable · Location: Page.ts, build.ts
Elder.js hook Lifecycle