Skip to content

Throwing error rather than panic in ExecuteFuncString #17

Description

@lext-7

I found that if ExecuteFunc returns an error, ExecuteFuncString will use panic. I think returning an error is more reasonable.
See https://github.com/valyala/fasttemplate/blob/master/template.go#L91

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