Skip to content

Commit

Permalink
Restore internal init on FlagsmithError
Browse files Browse the repository at this point in the history
  • Loading branch information
gazreese committed Apr 30, 2024
1 parent 2827e8d commit e98d57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlagsmithClient/Classes/FlagsmithError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public enum FlagsmithError: LocalizedError, Sendable {
/// * as `EncodingError`: `.encoding()` error will be created.
/// * as `DecodingError`: `.decoding()` error will be created.
/// * default: `.unhandled()` error will be created.
init(_ error: Error) {
internal init(_ error: Error) {
switch error {
case let flagsmithError as FlagsmithError:
self = flagsmithError
Expand Down

0 comments on commit e98d57b

Please sign in to comment.