# validation_result · FT4 Rell API · Chromia Docs (concept)

> struct validation_ result {
 valid: boolean;
 error: text? = null;
} valid: boolean; Whether the attempt succeeded error: text? = null; If valid is false, 

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.utils/validation_result/

STRUCT

# validation\_result

```signature
struct validation_result {
 valid: boolean;
 error: text? = null;
}
```

`valid: boolean;`
:   Whether the attempt succeeded

`error: text? = null;`
:   If `valid` is false, the error message. `null` otherwise

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/utils/utils.rell#lines-11)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.utils/validation_result/index.html)Generated API reference, mirrored from the live docs
