addRule('file', [ 'type' => self::TYPE_STRING, 'description' => 'File path.', 'example' => '/usr/code/vendor/utopia-php/framework/src/App.php', ]) ->addRule('line', [ 'type' => self::TYPE_INTEGER, 'description' => 'Line number.', 'example' => 209, ]) ->addRule('trace', [ 'type' => self::TYPE_STRING, 'description' => 'Error trace.', 'example' => [ '' ], ]) ; } /** * Get Collection * * @return string */ public function getType():string { return Response::MODEL_ERROR_DEV; } }