! exec pint --no-color --config not_existed_config.hcl lint rules
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=not_existed_config.hcl
level=ERROR msg="Execution completed with error(s)" err="failed to load config file \"not_existed_config.hcl\": <nil>: Configuration file not found; The configuration file not_existed_config.hcl does not exist."
