Sending better error format