Skip to content
File

Blob: src/workerd/io/outcome.capnp

961 bytes
1# Copyright (c) 2017-2022 Cloudflare, Inc.
2# Licensed under the Apache 2.0 license found in the LICENSE file or at:
3# https://opensource.org/licenses/Apache-2.0
4 
5@0xe27bb9203d5e02a8;
6 
7using Cxx = import "/capnp/c++.capnp";
8$Cxx.namespace("workerd");
9$Cxx.allowCancellation;
10 
11# ========================================================================================
12# DO NOT MODIFY BELOW THIS COMMENT -- except if copying from the authoritative version.
13#
14# This enum is defined as part of the Cloudflare Workers log schemas. The upstream version
15# of the enum needs to be updated first, and then changes can be copied here.
16# ========================================================================================
17 
18enum EventOutcome {
19 unknown @0;
20 ok @1;
21 exception @2;
22 exceededCpu @3;
23 killSwitch @4;
24 daemonDown @5;
25 scriptNotFound @6;
26 canceled @7;
27 exceededMemory @8;
28 loadShed @9;
29 responseStreamDisconnected @10;
30 internalError @11;
31}