Lines Matching refs:WithError

36     zx_status_t WithError(const char* error_msg) {
280 return WithError("Cannot validate a null fidl type");
284 return WithError("Cannot validate null bytes");
288 return WithError("Message must be a struct");
292 return WithError("Message size is smaller than expected");
314 return WithError("recursion depth exceeded validating struct");
326 return WithError("Tried to validate a bad struct pointer");
330 return WithError("message wanted to store too large of a nullable struct");
339 return WithError("Tried to validate a bad union discriminant");
358 return WithError("Tried to validate a bad union pointer");
362 return WithError("message wanted to store too large of a nullable union");
377 return WithError("recursion depth exceeded validating array");
390 return WithError("message tried to validate an absent non-nullable string");
393 return WithError("message tried to validate an absent string of non-zero length");
398 return WithError(
404 return WithError("message tried to validate too large of a bounded string");
408 return WithError("validating a string overflowed buffer");
426 return WithError("message had too many handles");
433 return WithError("message tried to validate a non-present handle");
444 return WithError("message tried to validate an absent non-nullable vector");
447 return WithError("message tried to validate an absent vector of non-zero elements");
452 return WithError("message tried to validate a non-present vector");
455 return WithError("message tried to validate too large of a bounded vector");
459 return WithError("integer overflow calculating vector size");
462 return WithError("message wanted to store too large of a vector");
478 return WithError("message did not use all provided bytes");
481 return WithError("message did not contain the specified number of handles");