Example #1
0
 public void CopyParamFrom(Out123 other)
 {
     Out123.Errors error = Out123NativeMethods.ParamFrom(handle, other.handle);
     if (error != Out123.Errors.OK)
     {
         throw new Out123.ErrorException(error);
     }
 }
Example #2
0
 public ErrorException(Out123 handle) : base(LastErrorFrom(handle))
 {
 }
Example #3
0
 private static string LastErrorFrom(Out123 handle)
 {
     return("[" + handle.LastErrorCode() + "][" + handle.LastErrorString() + "]");
 }