-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from writeas/add-local-WFUser-initializer
Adds a simple memberwise-ish initializer for stored token/username
- Loading branch information
Showing
6 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# WFError | ||
|
||
``` swift | ||
public enum WFError | ||
``` | ||
|
||
## Inheritance | ||
|
||
`Error`, `Int` | ||
|
||
## Enumeration Cases | ||
|
||
### `badRequest` | ||
|
||
``` swift | ||
case badRequest | ||
``` | ||
|
||
### `unauthorized` | ||
|
||
``` swift | ||
case unauthorized | ||
``` | ||
|
||
### `forbidden` | ||
|
||
``` swift | ||
case forbidden | ||
``` | ||
|
||
### `notFound` | ||
|
||
``` swift | ||
case notFound | ||
``` | ||
|
||
### `methodNotAllowed` | ||
|
||
``` swift | ||
case methodNotAllowed | ||
``` | ||
|
||
### `gone` | ||
|
||
``` swift | ||
case gone | ||
``` | ||
|
||
### `preconditionFailed` | ||
|
||
``` swift | ||
case preconditionFailed | ||
``` | ||
|
||
### `tooManyRequests` | ||
|
||
``` swift | ||
case tooManyRequests | ||
``` | ||
|
||
### `internalServerError` | ||
|
||
``` swift | ||
case internalServerError | ||
``` | ||
|
||
### `badGateway` | ||
|
||
``` swift | ||
case badGateway | ||
``` | ||
|
||
### `serviceUnavailable` | ||
|
||
``` swift | ||
case serviceUnavailable | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Generated at 2020-08-17T10:42:50-0400 using [swift-doc](https://github.com/SwiftDocOrg/swift-doc) 1.0.0-beta.3. | ||
Generated at 2020-08-31T10:27:33-0400 using [swift-doc](https://github.com/SwiftDocOrg/swift-doc) 1.0.0-beta.3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters