ErrorInformation Class

Summary

Provides the error IDs known in nBuildKit and methods to map error IDs to error codes.
Namespace
NBuildKit.MsBuild.Tasks.Core
Base Types
  • object
graph TD Base0["object"]-->Type Type["ErrorInformation"] class Type type-node

Syntax

public static class ErrorInformation

Fields

Name Constant Value Summary
ErrorIdApplicationErrorStream NBuildKit.Application.WroteToErrorStream
Defines the error ID for an error describing an application writing to the error stream.
static
ErrorIdApplicationInvalidArgument NBuildKit.Application.InvalidArgument
Defines the error ID for an error indicating that a required application argument has not been provided.
static
ErrorIdApplicationMissingArgument NBuildKit.Application.MissingArgument
Defines the error ID for an error indicating that a required application argument has not been provided.
static
ErrorIdApplicationNonzeroExitCode NBuildKit.Application.NonzeroExitCode
Defines the error ID for an error describing an application exiting with a non-zero exit code.
static
ErrorIdApplicationPathNotFound NBuildKit.FileNotFound.ExecutableTool
Defines the error ID for an error indicating that the path to the selected tool was not found.
static
ErrorIdDirectoryNotFound NBuildKit.DirectoryNotFound
Defines the error ID for an error that occurs when a directory cannot be found.
static
ErrorIdFileLoad NBuildKit.FileLoad
Defines the error ID for an error that occurs when a file cannot be loaded.
static
ErrorIdFileNotFound NBuildKit.FileNotFound
Defines the error ID for an error that occurs when a file cannot be found.
static
ErrorIdFileRead NBuildKit.FileRead
Defines the error ID for an error that occurs when a file cannot be read.
static
ErrorIdHashCalculationFailure nBuildKit.CalculateHash.Failure
Defines the error ID for an error that occurs when a file hash cannot be calculated.
static

Methods

Name Value Summary
ErrorCodeById(string, ITaskItem[]) string
Returns the error code for the given ID.
static