github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/error/locale.eng.go (about) 1 //go:build lang_eng 2 3 /* For license and copyright information please see the LEGAL file in the code repository */ 4 5 package error 6 7 import ( 8 "github.com/GeniusesGroup/libgo/protocol" 9 ) 10 11 const domainEnglish = "Error" 12 13 func init() { 14 ErrNotFound.SetDetail(protocol.LanguageEnglish, domainEnglish, 15 "Not Found", 16 "An error occurred but it is not registered yet to show more detail to you!", 17 "Sorry it's us not your fault! Contact administrator of platform!", 18 "Find error by its URN and save it for further use by any UserInterfaces", 19 nil) 20 21 ErrNotExist.SetDetail(protocol.LanguageEnglish, domainEnglish, 22 "Not Exist", 23 "Given Error is not exist", 24 "Sorry it's us not your fault! Contact administrator of platform", 25 "Trace error by enable panic recovery to find nil error detection problem", 26 nil) 27 }