Home > utils > isError.m

isError

PURPOSE ^

isError Error wrapper for VNAKit.VNAKit static methods which return

SYNOPSIS ^

function [] = isError(ctxt, errcode)

DESCRIPTION ^

isError    Error wrapper for VNAKit.VNAKit static methods which return
           a VNAKIT_RESULT which will either be VNAKIT_SUCCESS or an
           error code. Wrapper detects and prints the error code
    [] = isError(ctxt, errcode)
    Inputs:
      ctxt: [string] Context for the error message. Usually the
            name of the function
      errcode: [VNAKit.VNAKIT_RESULT] error code of VNAKit method
    Output:
      None

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 02-Jan-2019 14:21:51 by m2html © 2005