@@ -8,6 +8,30 @@ import (
8
8
)
9
9
10
10
type Error = apierror.Error
11
+ type ErrorCode = apierror.ErrorCode
12
+
13
+ const ErrorCodeCanceled = apierror .ErrorCodeCanceled
14
+ const ErrorCodeUnknown = apierror .ErrorCodeUnknown
15
+ const ErrorCodeInvalidArgument = apierror .ErrorCodeInvalidArgument
16
+ const ErrorCodeDeadlineExceeded = apierror .ErrorCodeDeadlineExceeded
17
+ const ErrorCodeNotFound = apierror .ErrorCodeNotFound
18
+ const ErrorCodeAlreadyExists = apierror .ErrorCodeAlreadyExists
19
+ const ErrorCodePermissionDenied = apierror .ErrorCodePermissionDenied
20
+ const ErrorCodeResourceExhausted = apierror .ErrorCodeResourceExhausted
21
+ const ErrorCodeFailedPrecondition = apierror .ErrorCodeFailedPrecondition
22
+ const ErrorCodeAborted = apierror .ErrorCodeAborted
23
+ const ErrorCodeOutOfRange = apierror .ErrorCodeOutOfRange
24
+ const ErrorCodeUnimplemented = apierror .ErrorCodeUnimplemented
25
+ const ErrorCodeInternal = apierror .ErrorCodeInternal
26
+ const ErrorCodeUnavailable = apierror .ErrorCodeUnavailable
27
+ const ErrorCodeDataLoss = apierror .ErrorCodeDataLoss
28
+ const ErrorCodeUnauthenticated = apierror .ErrorCodeUnauthenticated
29
+
30
+ type ArbitraryData = apierror.ArbitraryData
31
+ type ArbitraryDataDebug = apierror.ArbitraryDataDebug
32
+ type ArbitraryDataType = apierror.ArbitraryDataType
33
+ type ArbitraryDataValue = apierror.ArbitraryDataValue
34
+ type ArbitraryData = apierror.ArbitraryData
11
35
12
36
// An AutomationTrigger represents a trigger for an automation action. The
13
37
// `post_environment_start` field indicates that the automation should be triggered
0 commit comments