public virtual JsonLdError SetType(JsonLdError.Error error) { this.type = error; return this; }
public JsonLdError(JsonLdError.Error type) : base(string.Empty) { this.type = type; }
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; }