-
Notifications
You must be signed in to change notification settings - Fork 292
Add message argument to LICENSE_CHECKOUT_ERROR #6592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,8 @@ type errors = | |
(** Thrown by license_check when expiry date matches or precedes current | ||
date *) | ||
| License_processing_error (** License could not be processed *) | ||
| License_checkout_error of string (** License could not be checked out *) | ||
| License_checkout_error of string * string | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this is a breaking change anyway you could also completely rename the variant to something else? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As this is an host-internal interface, I don't think it is worth worrying about. In practice we update xapi+v6d at the same time. |
||
(** License could not be checked out *) | ||
| Missing_connection_details | ||
(** Thrown if connection port or address parameter not supplied to | ||
check_license *) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understood this right, xe now doesn't need to know about these messages, but they still need to be exposed so clients can still react to them, is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean the definitions in api_messages? I'd like to remove them as well, but I was worried about breaking the SDK.