Skip to content

Commit

Permalink
Update LineSDKError.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Jan 28, 2020
1 parent 240d5a0 commit 8d0e0b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LineSDK/LineSDK/General/LineSDKError.swift
Expand Up @@ -203,6 +203,10 @@ public enum LineSDKError: Error {
///
/// - conversionError: Cannot convert `string` to valid data with `encoding`. Code 4001.
/// - parameterError: The method is invoked with an invalid parameter. Code 4002.
/// - notOriginalTask: The image download task finished but it is not the original task issued. Code 4003.
/// - processDiscarded: The process is discarded when a new login process is created. This only
/// happens when `allowRecreatingLoginProcess` in `LoginManager.Parameters` is `true`
/// and users are trying to create another login process. Code 4004.
public enum GeneralErrorReason {
/// Cannot convert `string` to valid data with `encoding`. Code 4001.
case conversionError(string: String, encoding: String.Encoding)
Expand Down

0 comments on commit 8d0e0b4

Please sign in to comment.