Skip to content

Remove @ before and check for not existing field #29

@franck-roland

Description

@franck-roland

replace https://github.com/basecrm/basecrm-php/blob/master/lib/Errors/BaseError.php#L18
and do something like
return "resource=" . (isset($error['resource']) ? $error['resource'] : 'no_resource') . " field=" . (isset($error['field']) ? $error['field'] : 'no_field') . " code=" . $error['code'] . " message=" . $error['message'];

All info and warning is an error in my base code and I throw an exception if 'field' does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions