All Downloads are FREE. Search and download functionalities are using the official Maven repository.

csharp.apiException.mustache Maven / Gradle / Ivy

There is a newer version: 2.0.14
Show newest version
using System;

namespace {{invokerPackage}} {
  public class ApiException : Exception {
    
  	private int errorCode = 0;

    public ApiException() {}

    public int ErrorCode { 
    	get
    	{
    		return errorCode;
    	}
    }

    public ApiException(int errorCode, string message) : base(message) {
    	this.errorCode = errorCode;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy