change Error to StencilError, Result to StencilResult in ResultSwift