Pass exception message to ajax caller when delete attachment