Updating to latest protocol.json definition

This commit is contained in:
Kenneth Shaw 2017-02-08 21:35:46 +07:00
parent 4137fe57cc
commit f557f48716
2 changed files with 5 additions and 1 deletions

View File

@ -148,6 +148,7 @@ const (
PausedReasonPromiseRejection PausedReason = "promiseRejection"
PausedReasonOOM PausedReason = "OOM"
PausedReasonOther PausedReason = "other"
PausedReasonAmbiguous PausedReason = "ambiguous"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
@ -181,6 +182,8 @@ func (t *PausedReason) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = PausedReasonOOM
case PausedReasonOther:
*t = PausedReasonOther
case PausedReasonAmbiguous:
*t = PausedReasonAmbiguous
default:
in.AddError(errors.New("unknown PausedReason value"))

View File

@ -12023,7 +12023,8 @@
"debugCommand",
"promiseRejection",
"OOM",
"other"
"other",
"ambiguous"
],
"description": "Pause reason."
},