Lines Matching refs:WithError

37     zx_status_t WithError(const char* error_msg) {
282 return WithError("Cannot decode a null fidl type");
286 return WithError("Cannot decode null bytes");
290 return WithError("Cannot provide non-zero handle count and null handle pointer");
294 return WithError("Message must be a struct");
298 return WithError("Message size is smaller than expected");
320 return WithError("recursion depth exceeded decoding struct");
332 return WithError("Tried to decode a bad struct pointer");
337 return WithError("message wanted to store too large of a nullable struct");
347 return WithError("Tried to decode a bad union discriminant");
367 return WithError("Tried to decode a bad union pointer");
371 return WithError("message wanted to store too large of a nullable union");
387 return WithError("recursion depth exceeded decoding array");
400 return WithError("message tried to decode an absent non-nullable string");
403 return WithError("message tried to decode an absent string of non-zero length");
408 return WithError(
414 return WithError("message tried to decode too large of a bounded string");
418 return WithError("decoding a string overflowed buffer");
437 return WithError("message decoded too many handles");
444 return WithError("message tried to decode a non-present handle");
455 return WithError("message tried to decode an absent non-nullable vector");
458 return WithError("message tried to decode an absent vector of non-zero elements");
463 return WithError("message tried to decode a non-present vector");
466 return WithError("message tried to decode too large of a bounded vector");
470 return WithError("integer overflow calculating vector size");
473 return WithError("message wanted to store too large of a vector");
490 return WithError("message did not decode all provided bytes");
493 return WithError("message did not contain the specified number of handles");