Added detail in error object