New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui: add missing error types #3925
Conversation
case INTERNAL | ||
} | ||
|
||
public enum RCErrorType: Decodable { | ||
case `internal`(internalErr: String) | ||
case identity | ||
case noLocalAddress | ||
case newController | ||
case notDiscovered | ||
case tlsStartFailed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tLSStartFailed
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leTS not tread that particular path 馃槄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not about style, I mean that's how it seems it would be encoded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unless it's renamed in backend from RCETLSStartFailed to RCETlsStartFailed (which is more work)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so currently it just wouldn't decode
5e35cb5
to
cd89b4c
Compare
@@ -5211,6 +5217,8 @@ sealed class RCErrorType { | |||
@Serializable @SerialName("internal") data class INTERNAL(val internalErr: String): RCErrorType() | |||
@Serializable @SerialName("identity") object IDENTITY: RCErrorType() | |||
@Serializable @SerialName("noLocalAddress") object NO_LOCAL_ADDRESS: RCErrorType() | |||
@Serializable @SerialName("newController") object NEW_CONTROLLER: RCErrorType() | |||
@Serializable @SerialName("notDiscovered") object NOT_DISCOVERED: RCErrorType() | |||
@Serializable @SerialName("tlsStartFailed") object TLS_START_FAILED: RCErrorType() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tLSStartFailed
?
No description provided.