Mercurial > public > simoleon
comparison Simoleon/Helpers/ErrorHandling.swift @ 171:70f0625bfcf1
Merge pull request #17 from denniscm190/development
open source project
committer: GitHub <noreply@github.com>
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Tue, 12 Oct 2021 16:17:35 +0200 |
parents | 0c589138a6f3 |
children |
comparison
equal
deleted
inserted
replaced
146:f10b0e188905 | 171:70f0625bfcf1 |
---|---|
1 // | |
2 // ErrorHandling.swift | |
3 // Simoleon | |
4 // | |
5 // Created by Dennis Concepción Martín on 19/8/21. | |
6 // | |
7 | |
8 import Foundation | |
9 | |
10 class ErrorHandling { | |
11 enum Json: Error { | |
12 case fileMissing | |
13 case loadFailed(cause: String) | |
14 case parseFailed(cause: String) | |
15 } | |
16 | |
17 enum Networking: Error { | |
18 case invalidURL | |
19 } | |
20 } |