Creating an error descriptor