Bloom.Book.ErrorBook.ErrorBook C# (CSharp) Method

ErrorBook() public method

this is a bit of a hack to handle representing a book for which we got an exception while loading the storage... a better architecture wouldn't have this...
public ErrorBook ( Exception exception, string folderPath, bool canDelete ) : System
exception System.Exception
folderPath string
canDelete bool
return System
        public ErrorBook(Exception exception, string folderPath, bool canDelete)
        {
            Exception = exception;
            _folderPath = folderPath;
            _canDelete = canDelete;
            Logger.WriteEvent("Created ErrorBook with exception message: " + Exception.Message);
            BookInfo = new ErrorBookInfo(folderPath,exception);
        }