public override string ToString()

in src/Microsoft.Azure.WebJobs.Extensions.Dapr/Exceptions/DaprException.cs [58:75]


        public override string ToString()
        {
            if (this.InnerException != null)
            {
                return string.Format(
                    "Status Code: {0}; Error Code: {1} ; Message: {2}; Inner Exception: {3}",
                    this.StatusCode,
                    this.ErrorCode,
                    this.Message,
                    this.InnerException);
            }

            return string.Format(
                "Status Code: {0}; Error Code: {1} ; Message: {2}",
                this.StatusCode,
                this.ErrorCode,
                this.Message);
        }