Skip to content

Support user friendly validation for the API sdk #16

Description

@mohamed-abdelrhman

When user tries to validate create or update in the API sdk it returns unformatted and not friendly error validation which used for cli

eg:

{"level":"error","time":"2022-06-22T18:52:55.742+0200","msg":"ERROR_IN_ETHEREUMSERVICE_UPDATE-FM","error":"Node.ethereum.kotal.io \"mynodes\" is invalid: spec.resources.memoryLimit: Invalid value: \"0Gi\": spec.resources.memoryLimit in body should match '^[1-9][0-9]*[KMGTPE]i$'"}

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