+ * Extra params to return. eg an extra array of ids. It is not mandatory,
+ * but can help the computer using the api. Keep in mind the api consumer
+ * isn't to be trusted. eg. the database password is NOT a good extra data.
+ * @param \Exception|NULL $previous
+ * A previous exception which caused this new exception.