public void Add(string key, string message, string internalErrorMessage = default(string), MonoStatusCode code = 0) { Add(new MonoError { Code = code, InternalMessage = internalErrorMessage, Key = key, Message = message }); }
public MonoReturn Error(string message = default(string), string internalMessage = default(string), MonoStatusCode code = MonoStatusCode.BadRequest) { return(new MonoReturn { Code = code, Message = message, InternalMessage = internalMessage, Success = false }); }