mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
16 lines
519 B
JSON
16 lines
519 B
JSON
{
|
|
"E_INVALID_PROFILER_WORKER": {
|
|
"message": "Profiler worker file must export a \"process\" function",
|
|
"status": 500,
|
|
"code": "E_INVALID_PROFILER_WORKER",
|
|
"help": [
|
|
"Here's an example of how the profiler worker code should look like",
|
|
"```",
|
|
"import { ProfilerAction, ProfilerRow } from '@ioc:Adonis/Core/Profiler'",
|
|
"export function process (log: ProfilerAction | ProfilerRow) {",
|
|
"}",
|
|
"```"
|
|
]
|
|
}
|
|
}
|