Skip to content

Need error checking #29

@vspk-irkutsk

Description

@vspk-irkutsk

Error checking is not implemented here, and I have to hope that my app won't crash when some unexpected thing will occur. I would like to see something like that:

cropFilter, err :=  gift.Crop(image.Rect(x1, y1, x2, y2))
if err != nil {
      // do something
}

blurFilter, err := gift.GaussianBlur(25)
if err != nil {
      // do something
}

mainFilter, err := gift.New(cropFilter, blurFilter)
if err != nil {
      // do something
}

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