Skip to content

(mount/start nil) throws the craziest errors (hard to debug) #129

@boxxxie

Description

@boxxxie

i get JVM level errors when (mount/start nil) is called

Execution error (StringIndexOutOfBoundsException) at jdk.internal.util.Preconditions$1/apply (Preconditions.java:55). Index 0 out of bounds for length 0

i thought that it would be ok to call it that way because it usually takes in a set, and nil is the empty set. i don't think that it's important for mount to work with nil, but i think it should throw an error...

{:pre (not-empty states)} would be good enough to avoid the super low level errors

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