\Blackpulp\MinistryPlatformException

This class handles exceptions for MinistryPlatform errors.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
$message
$code
N/A
No private methods found
No private properties found
N/A

Properties

$message

$message : string

A generic override for throwing Exceptions from MP.

Type

string

$code

$code : integer

Store the error code.

MinistryPlatform's Add/Update record calls do provide an error code. If it's passed, we'll send it along to the exception.

Type

integer

Methods

__construct()

__construct(string  $message, integer  $code) 

Initialize the Exception object.

Parameters

string $message
integer $code