You are here

public function ServicesArgumentException::getArgumentName in Services 7.3

Same name and namespace in other branches
  1. 6.3 services.runtime.inc \ServicesArgumentException::getArgumentName()

Returns the name of the argument that caused the error.

Return value

string The name of the argument.

File

includes/services.runtime.inc, line 77
Contains functions that only are necessary when a service call is made. This has broken out so that this code isn't loaded for every page load.

Class

ServicesArgumentException
A exception thrown by services and related modules when an error related to a specific argument is encountered.

Code

public function getArgumentName() {
  return $this->argument;
}