pub fn error(error: Error)
Takes an error and prints everything in a nice format if set, will force close the program.