Created a WriterException class and updated a bunch of documentation.