lib/EarthIT/CMIPREST/Util.php
public static function singleErrorResponse( $status, $message, array $notes=array(), array $headers=array() ) {
		return self::multiErrorResponse($status, array(self::errorStructure( $message, $notes )), $headers);
	}
public static function singleErrorResponse( $status, $message, array $notes=array(), array $headers=array() ) {
		return self::multiErrorResponse($status, array(self::errorStructure( $message, $notes )), $headers);
	}
public static function singleErrorResponse ( $ status , $ message , array $ notes = array ( ) , array $ headers = array ( ) ) { return self :: multiErrorResponse ( $ status , array ( self :: errorStructure ( $ message , $ notes ) ) , $ headers ) ; }
Create a response to indicate a single error
from a status code, message, and list of notes.
Create a response to indicate a single error from a status code message and list of notes .