Skip to content

elvl_ should be enum #179

Open
Open
@joshua-dean

Description

At the start of ULabel's class definiton:

ulabel/src/index.js

Lines 63 to 65 in fe138c8

static get elvl_info() { return 0; }
static get elvl_standard() { return 1; }
static get elvl_fatal() { return 2; }

these are passed to raise_error here:

raise_error(message, level = ULabel.elvl_standard) {

index.js is still Javascript, but when moved to Typescript (#180) these values should be Enums.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions