example

Version, currently master branch1 version
  • master branchlatestMay 1, 2025

github.com/russ/shrine-failure-example

No description declared in shard.yml.

0 stars
0 dependents
License: not declared

Installation

# Add this to your shard.yml
dependencies:
  example:
    github: russ/shrine-failure-example
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.16.2

Dependencies

Runtime Dependencies

  • shrine~> 0.6.5github: jetrockets/shrine.cr

README

Minimal example of getting an error

❯ crystal example.cr
Showing last frame. Use --error-trace for full trace.

In lib/shrine/src/shrine.cr:141:30

 141 | {% for plugin in @type.constant(:PLUGINS) %}
                              ^-------
Error: `for` expression must be an array, hash, tuple, named tuple or a range literal, not NilLiteral:

nil