SrtInvalidArgsError

  Custom exception object for SReachTools invalid arguments errors
  ============================================================================
  
  Customized class for generating SReachTools invalid arguments errors, subclass 
  of the standard SrtBaseException class
 
  Usage:
  ------
  exc = SrtInvalidArgsError('error message')
 
  ============================================================================
 
  See also MException
 
  ============================================================================
 
    This function is part of the Stochastic Optimal Control Toolbox.
    License for the use of this function is given in
         https://sreachtools.github.io/license/
  

    Reference page in Doc Center
       doc SrtInvalidArgsError

Constructor

  Custom exception object for SReachTools invalid arguments errors
  ============================================================================
  
  Customized class for generating SReachTools invalid arguments errors, subclass 
  of the standard SrtBaseException class
 
  Usage:
  ------
  exc = SrtInvalidArgsError('error message')
 
  ============================================================================
 
  See also MException
 
  ============================================================================
 
    This function is part of the Stochastic Optimal Control Toolbox.
    License for the use of this function is given in
         https://sreachtools.github.io/license/
  

    Reference page in Doc Center
       doc SrtInvalidArgsError

Method: withFunctionName

  Throw invalid args and provide function name that received the 
  invalid call
  =====================================================================
  
  Method to preformat error strings to throw to the user the specific
  function that was used when passing the invalid args error. Will 
  display message:
  
        Invalid arguments provided to << function name >>
  
  =====================================================================
  

Method: getErrorId

SrtInvalidArgsError.getErrorId is a function.
    id = getErrorId()