Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

may be a module name before err code is needed #1

Closed

Description

@yangjuncode

when multiple lib being imported, it will be conflict when no moudle name as prefix.

"ERROR 7248152: Something went wrong, please contact us."
vs
"ERROR modulename-7248152: Something went wrong, please contact us."

of course, modulename default to empty when in small program.

Activity

  1. pycckuu commented on Feb 27, 2021

    @pycckuu

    Or maybe just add possibility to prepend some custom letters in front of the error code, e.g. MA526263, will be sufficient?

  2. vsrc commented on Feb 27, 2021

    @vsrc
    Owner

    I like the idea! I will add the option to pass the prefix. Thanks both @yangjuncode and @pycckuu for the suggestion!

  3. vsrc commented on Feb 27, 2021

    @vsrc
    Owner

    Just updated the code in the v1.0.1. Thanks again both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions