# Functions

CheckError is a convenience function to exit if an error is non-nil and exit if it was.