public JsonLdError(JsonLdError.Error type) : base(string.Empty) { this.type = type; }
public virtual JsonLdError SetType(JsonLdError.Error error) { this.type = error; return(this); }
public JsonLdError(JsonLdError.Error type, object detail) : base(detail == null ? string.Empty : detail.ToString()) { // TODO: pretty toString (e.g. print whole json objects) this.type = type; }
internal JsonLdError(JsonLdError.Error type) : base(string.Empty) { this.type = type; }
internal JsonLdError(JsonLdError.Error type, object detail, Exception innerException) : base(detail == null ? string.Empty : detail.ToString(), innerException) { // TODO: pretty toString (e.g. print whole json objects) this.type = type; }
public virtual JsonLdError SetType(JsonLdError.Error error) { this.type = error; return this; }