Skip to content
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

Add errors to transaction #66

Merged
merged 5 commits into from Jul 5, 2018
Merged

Conversation

mederic-p
Copy link
Contributor

Issue/Task Number: 490

Changes

  • Add errorCode and errorDescription to Transaction model
  • Update optional parameters for Account and Avatar

@mederic-p mederic-p merged commit 99b72d0 into master Jul 5, 2018
@mederic-p mederic-p deleted the T490-add-error-to-transaction branch July 5, 2018 05:19
@@ -35,6 +35,10 @@ public struct Transaction {
public let encryptedMetadata: [String: Any]
/// The creation date of the transaction
public let createdAt: Date
/// An error code if the transaction encountered an error
public let errorCode: String?
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the type should be the same as property code in APIError object?

image

Just asking I'm not sure about your implementation anyway 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants