Return error dict.