ErrorFacade

struct ErrorFacade : Facade

Used to write modified error enum templates to swift files

  • Undocumented

    Declaration

    Swift

    var migrationSet: MigrationSet?
  • here the modifiables array contains only two values: _APIError & APIError

    Declaration

    Swift

    var modifiables: [Modifiable]
  • Undocumented

    Declaration

    Swift

    var targetDirectory: Path
  • Persists error enums to files

    Throws

    error if writing fails

    Declaration

    Swift

    func persist() throws -> [URL]

    Return Value

    [URL] of file URLs