Skip to content

use variables in error messages #46

Open

Description

@wesley3523

Is it possible to use some variable in the error message, something like

error: 'This field must have {number} characters'

i appreciate it.

Activity

  1. hueitan commented on Mar 20, 2015

    @hueitan
    Contributor

    yes, it can. please search the documentation and issue.

  2. wesley3523 commented on Mar 20, 2015

    @wesley3523
    Author

    Yes i did, but can not find the awnser. maybe some example can help?

    Thanks

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions