GitHubIssueException Class

Summary

Base class for exceptions that can be thrown while updating GitHub Issues (or Pull Requests)
graph BT Type-->Base0["Exception"] Type["GitHubIssueException"] class Type type-node Derived0["IssueNotFoundException"]-->Type click Derived0 "/api/Cake.GitHub/IssueNotFoundException" Derived1["MilestoneAlreadySetException"]-->Type click Derived1 "/api/Cake.GitHub/MilestoneAlreadySetException" Derived2["MilestoneNotFoundException"]-->Type click Derived2 "/api/Cake.GitHub/MilestoneNotFoundException"

Syntax

public abstract class GitHubIssueException : Exception

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
GitHubIssueException(string, Exception) Initializes a new instance of the GitHubIssueException class with the specified error message and inner exception.
GitHubIssueException(string) Initializes a new instance of the GitHubIssueException class with the specified error message.

Extension Methods

Name Value Summary
Dump<GitHubIssueException>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitHubIssueException>(GitHubIssueException[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitHubIssueException>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitHubIssueException>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitHubIssueException>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitHubIssueException>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin