-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/implement_translate_button2
- Loading branch information
Showing
112 changed files
with
334 additions
and
80 deletions.
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
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<SmellBaseline> | ||
<Blacklist> | ||
</Blacklist> | ||
<Whitelist> | ||
</Whitelist> | ||
<SuppressedFalsePositive> | ||
</SuppressedFalsePositive> | ||
<TemporarySuppressedIssues> | ||
</TemporarySuppressedIssues> | ||
</SmellBaseline> |
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
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
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
21 changes: 9 additions & 12 deletions
21
core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched2023/model/AppError.kt
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,23 +1,20 @@ | ||
package io.github.droidkaigi.confsched2023.model | ||
|
||
public sealed class AppError : RuntimeException { | ||
private constructor() | ||
private constructor(message: String?) : super(message) | ||
private constructor(message: String?, cause: Throwable?) : super(message, cause) | ||
private constructor(cause: Throwable?) : super(cause) | ||
private constructor(message: String? = null, cause: Throwable? = null) : super(message, cause) | ||
|
||
public sealed class ApiException(cause: Throwable?) : AppError(cause) { | ||
public class NetworkException(cause: Throwable?) : ApiException(cause) | ||
public class ServerException(cause: Throwable?) : ApiException(cause) | ||
public class TimeoutException(cause: Throwable?) : ApiException(cause) | ||
public class SessionNotFoundException(cause: Throwable?) : AppError(cause) | ||
public class UnknownException(cause: Throwable?) : AppError(cause) | ||
public sealed class ApiException(cause: Throwable?) : AppError(cause = cause) { | ||
public class NetworkException(cause: Throwable?) : ApiException(cause = cause) | ||
public class ServerException(cause: Throwable?) : ApiException(cause = cause) | ||
public class TimeoutException(cause: Throwable?) : ApiException(cause = cause) | ||
public class SessionNotFoundException(cause: Throwable?) : AppError(cause = cause) | ||
public class UnknownException(cause: Throwable?) : AppError(cause = cause) | ||
} | ||
|
||
public sealed class ExternalIntegrationError(cause: Throwable?) : AppError(cause) { | ||
public sealed class ExternalIntegrationError(cause: Throwable?) : AppError(cause = cause) { | ||
public class NoCalendarIntegrationFoundException(cause: Throwable?) : | ||
ExternalIntegrationError(cause) | ||
} | ||
|
||
public class UnknownException(cause: Throwable?) : AppError(cause) | ||
public class UnknownException(cause: Throwable?) : AppError(cause = cause) | ||
} |
Oops, something went wrong.