saf icon indicating copy to clipboard operation
saf copied to clipboard

Throw and raise errors in cli for functions at key points - like connections, uploads, file reads/writes, etc

Open aaronlippold opened this issue 3 years ago • 1 comments
trafficstars

aaronlippold avatar Feb 28 '22 00:02 aaronlippold

To this end, might be useful to have some sorta 'base-output' class that'll handle this io to as high a degree as possible.

Anyways a concern with file writes is hitting maximum file path/lengths so that base output class could test if it's possible to create the file and then throw an error if it's not possible to create a file at all or spit out a warning and then crop the filename output if we're hitting the max length, etc.

Amndeep7 avatar Feb 28 '22 18:02 Amndeep7