Oops, `WP_Error` doesn't exist when we're running before WP is loaded
Throw an error if the composer directory couldn't be created
Better position for this comment