Overview

Namespaces

  • None
  • VSP
    • Core
      • Abstracts
      • Interfaces
      • Traits
        • WC_Compatibility
    • Deprecation
    • Helper
    • Modules
      • Addons
      • Logger

Classes

  • Ajax
  • Ajaxer
  • Base
  • Cache
  • Error
  • Framework
  • Framework_Admin
  • Framework_Base
  • Framework_Modules
  • Helper
  • Setup
  • WC_Compatibility
  • Overview
  • Namespace
  • Class

Class Error

Class Error

WP_Error
Extended by VSP\Error
Namespace: VSP
Package: VSP
Author: Varun Sridharan varunsridharan23@gmail.com
Located at includes/class-error.php
Methods summary
public boolean
# has( )

Checks And Returns If This class has errors stored.

Checks And Returns If This class has errors stored.

Returns

boolean
public
# add( string|integer $code, string $msg, mixed $arg = '' )

Add an error or append additional message to an existing error.

Add an error or append additional message to an existing error.

Parameters

$code
Error code.
$msg
Error message.
$arg
Optional. Error data.

Returns


$this
API documentation generated by ApiGen