Overview

Namespaces

  • LeanCloud
    • Engine
    • Operation
    • Storage
    • Uploader

Classes

  • ACL
  • AppRouter
  • Bytes
  • Client
  • File
  • GeoPoint
  • LeanObject
  • MIMEType
  • Push
  • Query
  • Region
  • Relation
  • Role
  • RouteCache
  • SaveOption
  • SMS
  • User

Exceptions

  • BatchRequestError
  • CloudException
  • Overview
  • Namespace
  • Class

Class CloudException

Exception thrown when cloud API returns error

Exception
Extended by LeanCloud\CloudException

Direct known subclasses

LeanCloud\BatchRequestError
Namespace: LeanCloud
Located at LeanCloud/CloudException.php
Methods summary
public
# __construct( $message, $code = 1, $status = 400, $method = null, $url = null )

Overrides

Exception::__construct()
public
# __toString( )

Overrides

Exception::__toString()
Methods inherited from Exception
__wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
public integer $status

Http status returned by API

Http status returned by API

#
public string $method

Http method request to API

Http method request to API

#
public string $url

Http url request to API

Http url request to API

#
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen