Skip to content

Commit

Permalink
change error
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed Jun 2, 2022
1 parent 63e0078 commit 3bc3858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/EverscaleClientSwift/Client/ClientTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public struct TSDKClientError: Codable, Error {
public var code: UInt32
public var message: String
public var data: AnyValue = [:].toAnyValue()
public var localizedDescription: String { self.message }

public init(code: UInt32, message: String, data: AnyValue = [:].toAnyValue()) {
self.code = code
Expand Down

0 comments on commit 3bc3858

Please sign in to comment.