├── .editorconfig ├── .github └── workflows │ ├── build.yml │ └── publish.yml ├── .gitignore ├── CHANGELOG.md ├── Directory.Build.props ├── ErrorOr.sln ├── LICENSE.md ├── README.md ├── assets ├── icon-square.png └── icon.png ├── src ├── ErrorOr.csproj ├── ErrorOr │ ├── EmptyErrors.cs │ ├── ErrorOr.Else.cs │ ├── ErrorOr.ElseExtensions.cs │ ├── ErrorOr.Equality.cs │ ├── ErrorOr.FailIf.cs │ ├── ErrorOr.FailIfExtensions.cs │ ├── ErrorOr.ImplicitConverters.cs │ ├── ErrorOr.Match.cs │ ├── ErrorOr.MatchExtensions.cs │ ├── ErrorOr.Switch.cs │ ├── ErrorOr.SwitchExtensions.cs │ ├── ErrorOr.Then.cs │ ├── ErrorOr.ThenExtensions.cs │ ├── ErrorOr.ToErrorOrExtensions.cs │ ├── ErrorOr.cs │ ├── ErrorOrFactory.cs │ └── IErrorOr.cs ├── Errors │ ├── Error.cs │ └── ErrorType.cs ├── Results │ └── Results.cs └── Stylecop.json └── tests ├── .editorconfig ├── ErrorOr ├── ErrorOr.ElseAsyncTests.cs ├── ErrorOr.ElseTests.cs ├── ErrorOr.EqualityTests.cs ├── ErrorOr.FailIfAsyncTests.cs ├── ErrorOr.FailIfTests.cs ├── ErrorOr.InstantiationTests.cs ├── ErrorOr.MatchAsyncTests.cs ├── ErrorOr.MatchTests.cs ├── ErrorOr.SwitchAsyncTests.cs ├── ErrorOr.SwitchTests.cs ├── ErrorOr.ThenAsyncTests.cs ├── ErrorOr.ThenTests.cs ├── ErrorOr.ToErrorOrTests.cs └── TestUtils.cs ├── Errors ├── Error.EqualityTests.cs └── ErrorTests.cs ├── Tests.csproj └── Usings.cs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/Directory.Build.props -------------------------------------------------------------------------------- /ErrorOr.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/ErrorOr.sln -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/README.md -------------------------------------------------------------------------------- /assets/icon-square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/assets/icon-square.png -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/assets/icon.png -------------------------------------------------------------------------------- /src/ErrorOr.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr.csproj -------------------------------------------------------------------------------- /src/ErrorOr/EmptyErrors.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/EmptyErrors.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.Else.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.Else.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.ElseExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.ElseExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.Equality.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.Equality.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.FailIf.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.FailIf.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.FailIfExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.FailIfExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.ImplicitConverters.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.ImplicitConverters.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.Match.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.Match.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.MatchExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.MatchExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.Switch.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.Switch.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.SwitchExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.SwitchExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.Then.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.Then.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.ThenExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.ThenExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.ToErrorOrExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.ToErrorOrExtensions.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOr.cs -------------------------------------------------------------------------------- /src/ErrorOr/ErrorOrFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/ErrorOrFactory.cs -------------------------------------------------------------------------------- /src/ErrorOr/IErrorOr.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/ErrorOr/IErrorOr.cs -------------------------------------------------------------------------------- /src/Errors/Error.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/Errors/Error.cs -------------------------------------------------------------------------------- /src/Errors/ErrorType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/Errors/ErrorType.cs -------------------------------------------------------------------------------- /src/Results/Results.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/Results/Results.cs -------------------------------------------------------------------------------- /src/Stylecop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/src/Stylecop.json -------------------------------------------------------------------------------- /tests/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/.editorconfig -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.ElseAsyncTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.ElseAsyncTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.ElseTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.ElseTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.EqualityTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.EqualityTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.FailIfAsyncTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.FailIfAsyncTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.FailIfTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.FailIfTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.InstantiationTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.InstantiationTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.MatchAsyncTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.MatchAsyncTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.MatchTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.MatchTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.SwitchAsyncTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.SwitchAsyncTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.SwitchTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.SwitchTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.ThenAsyncTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.ThenAsyncTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.ThenTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.ThenTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/ErrorOr.ToErrorOrTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/ErrorOr.ToErrorOrTests.cs -------------------------------------------------------------------------------- /tests/ErrorOr/TestUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/ErrorOr/TestUtils.cs -------------------------------------------------------------------------------- /tests/Errors/Error.EqualityTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/Errors/Error.EqualityTests.cs -------------------------------------------------------------------------------- /tests/Errors/ErrorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/Errors/ErrorTests.cs -------------------------------------------------------------------------------- /tests/Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/error-or/HEAD/tests/Tests.csproj -------------------------------------------------------------------------------- /tests/Usings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; 2 | --------------------------------------------------------------------------------