Another small class for processing of attachments errors

Signed-off-by: emanuele <emanuele45@gmail.com>