Renaming errors property: localizedDescription -> description
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

Re enabling generation of ressources on commond
Architecture will now generate property of subobject as non-static. It will allow usage like R.sub_object.sub_property.property
This commit is contained in:
2022-11-22 17:37:24 +01:00
parent fc427733ee
commit 9ab7e74991
7 changed files with 18 additions and 18 deletions

View File

@ -14,7 +14,7 @@ enum StringiumError: Error {
case writeFile(String, String)
case langNotDefined(String, String, Bool)
var localizedDescription: String {
var description: String {
switch self {
case .fileNotExists(let filename):
return "error: [\(Stringium.toolName)] File \(filename) does not exists "

View File

@ -12,7 +12,7 @@ enum TwineError: Error {
case langsListEmpty
case defaultLangsNotInLangs
var localizedDescription: String {
var description: String {
switch self {
case .fileNotExists(let filename):
return "error: [\(Twine.toolName)] File \(filename) does not exists "