     public var description: String {
         switch self {
         case .illegalResponse:
-            return "[CodeRendererError] Illegal response during code rendering."
+            return "[\(type(of: self))] Illegal response during code rendering."
         case .writingFailed:
-            return "[CodeRendererError] Failed to write images of code."
+            return "[\(type(of: self))] Failed to write images of code."
         }
     }
 }


extension APIError : CustomStringConvertible {
    public var description: String {
        return "[APIError] response = \(response), json = \(json)"
    }
}


    public var description: String {
        switch self {
        case .codeWithoutFileName(let code):
            return "[\(type(of: self))] Code without filename: \(code)"
        case .illegalHashTag(let hashtag):
            return "[\(type(of: self))] Illegal hashtag: \(hashtag)"
        case .multipleAttachments(let tweet, let attachments):
            return "[\(type(of: self))] Multiple attachments in a tweet: tweet = \(tweet), attachments = \(attachments)"
        case .nonTailAttachment(let tweet, let attachment):
            return "[\(type(of: self))] Attachment must be put at the end of a tweet: tweet = \(tweet), attachment = \(attachment)"
        }
    }
}
