Skip to content

Throwing exception #26

@SychDan

Description

@SychDan

Is it possible to catch exception during incorrect gp value?

let value = ' linear-gradient(to right, #085078 1%, rgba(37, 111, 139, 255) 22%, rgba(42, 117, 143, 255) 26%, rgba(67, 144, 160, 255) 46%, rgba(61, 165, 114, ';
try {
    gp.setValue(value);
} catch (ex) {
    console.error('error');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions