CookieJarDB.with_error


Description:

[ CCode ( has_construct_function = false , type = "SoupCookieJar*" ) ]
[ Version ( since = "3.8" ) ]
public CookieJarDB.with_error (string filename, bool read_only) throws Error

Creates a [class@CookieJarDB], returning null and setting throws if the database file cannot be opened.

Parameters:

filename

the filename to read to/write from

read_only

true if filename is read-only

Returns:

the new CookieJar, or null on error